How can I build desktop and android App with Qt Python
-
wrote on 14 Feb 2022, 08:43 last edited by
Hello All,
I want to start a new project. How can I deploy my python project on Desktop and Android? Is there a way to make this?
When ı choosed Qt for Python I just say deploy for desktop. But I think there have to be a way to deploy for all platforms.
Thank you, -
wrote on 14 Feb 2022, 10:34 last edited by
Hi @ahmetozkaraca ,
To deploy a Qt Python application for Windows you can use Pyinstaller.
You can find a tutorial how to use pyinstaller at: https://www.mfitzp.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/I think you can use pyqtdeploy to deploy a PyQt5 app Android or iOS. pydroid is another option, supporting PyQt5 and PyQt6. But I never tried it.
Regards
-
wrote on 14 Feb 2022, 11:48 last edited byThis post is deleted!
-
Hi @ahmetozkaraca ,
To deploy a Qt Python application for Windows you can use Pyinstaller.
You can find a tutorial how to use pyinstaller at: https://www.mfitzp.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/I think you can use pyqtdeploy to deploy a PyQt5 app Android or iOS. pydroid is another option, supporting PyQt5 and PyQt6. But I never tried it.
Regards
wrote on 14 Feb 2022, 12:10 last edited by@ndias Yes I saw the documentation of pyqtdeploy. But I am searching a way to make this in Qt Creator. When I create a new project with Qt Quick and I can see that supported platforms are Desktop, Android, But when I create a new project with Qt For Python there is no Android support.
-
@ndias Yes I saw the documentation of pyqtdeploy. But I am searching a way to make this in Qt Creator. When I create a new project with Qt Quick and I can see that supported platforms are Desktop, Android, But when I create a new project with Qt For Python there is no Android support.
wrote on 14 Feb 2022, 12:24 last edited by@ahmetozkaraca
Not my area, but does this help: https://forum.qt.io/topic/130800/build-pyside6-application-for-android ? -
@ahmetozkaraca
Not my area, but does this help: https://forum.qt.io/topic/130800/build-pyside6-application-for-android ?wrote on 14 Feb 2022, 14:17 last edited by@JonB Thank you I will look that topic
1/6