How can I build desktop and android App with Qt Python
-
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, -
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
-
This 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
@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.
@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 ?@JonB Thank you I will look that topic