DumTux
DumTux

Reputation: 726

Qt6 on Raspberry OS - How to install and use PySide6?

I've been using PyQt5 for developing GUI applications on Raspberry OS.

Now I want to use the recent Qt version 6 for my Raspberry OS. I've searched a little, but couldn't find an easy solution to install Qt6 and PySide6 on Raspberry OS.

How to install and use Qt6 and PySide6?

Upvotes: 1

Views: 5587

Answers (1)

Slesa
Slesa

Reputation: 245

It seems that the team of Qt6 works together with Nuitka, so the best way seems to be:

pip install nuitka
python -m nuitka --standalone --enable-plugin=pyside6 --show-progress --windows-disable-console --macos-disable-console --include-qt-plugins=all --output-dir=bin --follow-imports --include-data-files=main.qml=main.qml --include-data-dir=res=res main.py

And this seems to be the only working transpiler for Qt6. It works for me, but there are dlls galore (>150) to be copied

Upvotes: 1

Related Questions