Unsolved Qt for python on android
-
Hello everybody,
Like the title indicates, I would like to know know if it is possible to run a Qt for python app on android. I have an app written in python and qml and would like to port it to android. Unfortunately, I couldn't fine any useful indication on Google. So is it possible possible? If yes can you point to where I can learn how to do it?
Thanks
-
Hi,
A quick search returns this article that seems to be a good starting point.
-
@Olivier92m As far as I know there is still no PySide2/6 support for android (it seems they want to support embedded systems first). Instead PyQt5/6 does provide it through pyqdeploy
-
Hi @Olivier92m,
As mentioned before, pyqtdeploy can be used to deploy a PyQt5 app Android or iOS. I think pydroid is another option, supporting PyQt5 and PyQt6.
Regards
-
Hello everyone, thanks for all your replies.
So there is no support for android with Pyside for now? I expected pyside2 to be more feature-rich sonce it's the one officially supported by Qt.That's why I used Pyside for my project. Is it difficult to switch /port from pyside to PyQt?
-
@Olivier92m said in Qt for python on android:
That's why I used Pyside for my project. Is it difficult to switch /port from pyside to PyQt?
It depends on your project and features you use. Sometimes it is as simple as replacement of PySide2 by PyQt5 in your import statements, but not always.