PyQt on Android

前端 未结 2 1136
日久生厌
日久生厌 2020-12-12 16:47

I\'m working on PyQt now, and I have to create the application on Android, I\'ve seen the kivy library, but it\'s too crude.

Is there any way now to run an applicati

2条回答
  •  误落风尘
    2020-12-12 17:04

    With the tool pyqtdeploy you can deploy a PyQt5 app to:

    • Windows
    • GNU/Linux
    • Mac OS X
    • Android
    • iOS

    Click here to see pyqtdeploy's documentation. It is a GUI tool that will package your PyQt5 application and compile it for the target platform.

    It lets you select various Qt modules to include in the compilation:

    On the command-line you would use the pyqtdeploy-build command like this:

    pyqtdeploy-build pyqt-demo.pdy
    

    Back in June 2016, there was a mailing list message that indicated that pyqtdeploy works. It's 2018 as I'm writing this so I assume pyqtdeploy has matured; the latest package version is 2.0.1 which was released on 5 January 2018.

提交回复
热议问题