Not able to install PySide2 for raspberry pi
-
I have successfully cross-compiled Qt for the raspberry pi platform and able to run QML based applications on the target platform by configuring a kit in Qt Creator. I want to use PySide2 to create a hybrid application using python and QML for my target platform i.e. raspberry pi.
Does PySide2 support raspberry pi platform? If yes, then what steps should I be following to execute this ? -
@RG97 said in Not able to install PySide2 for raspberry pi:
Does PySide2 support raspberry pi platform?
Please see this post for an ongoing discussion about PySide2 on Raspberry Pi devices.
-
Right now, cross-compiling PySide2 is not possible. It seems that Qt for Python team is working on it for future releases. Also, some users manage to successfully do it (Please see Andrea Tessadri's comment on https://bugreports.qt.io/browse/PYSIDE-802).
The easier solution is to do a native compilation. I have generated some PySide2 standalone wheels for 5.12.0-3 and rpi3 by doing a emulated native compilation on a Docker. I hope it helps you to do your own compilation or you might use my wheels at https://github.com/asaezper/qt-for-python-rpi3-docker/releases