PySide2 raspberry Pi bullseye
-
wrote on 15 Jun 2022, 14:55 last edited by erc164
https://forum.qt.io/topic/112813/installing-pyside2-on-raspberry-pi
The method in this solved topic no longer appears to work. pyside2uic is not an available apt package on bullseye. I found a recommended work around of trying to use pyside2-tools. This is also exclusive to buster though as you can see in buster it has pyside2-rcc and uic but for bullseye it only has lupdate. I am trying to use these to build ui files and qrc files. Does anyone know if there is a way to complete the install of pyside2 and get the uic and rcc tools on raspbian bullseye?
-
wrote on 6 Jul 2022, 11:14 last edited by
For any who may find this in the future, the solution was to compile those specific files on another machine and then move them to the pi. Since pyside2uic contains the rcc and qrc tools all that does is compile the .ui and .rc files. Those can pretty easily be moved. It is not an ideal fix, but it is a fix.
-
wrote on 17 Sept 2022, 13:13 last edited by
Hi,
Do you have a guide for building PySide2 for Raspbian BullsEye ?
Thanks,
-
wrote on 22 Nov 2022, 08:36 last edited by
Hi, In debian bullseye to generete .py files from .ui you can use uic command.
uic -g python -o somegui.py somegui.ui