[PyQt] Has anyone successfully used pyqtdeploy to deploy to mobile?
Sébastien RAMAGE
sramage at poifindus.com
Wed Apr 27 15:04:50 BST 2016
Hi !
I successfully made a app for android 5.x but with a particular
combinaison :
Python 3.5.1
PyQt 5.4.2
Qt 5.4.2
Sip 4.17
Android ndk 10e
Android sdk 21
and modifying pyconfig.py in pyqtdeploy to remove some functions (by
setting android=None) to be able to compile using QtCreator
But the problem now is that I need to support Android 4 (API 16), I can
build the apk but the app crash on start on android (the same apk works
well on android 5.x
Seb
**
*
*
Le 27/04/2016 15:49, Chandrakant Gopalan a écrit :
> Hi David,
> Thanks very much for your reply. Its the same thing for us, we are
> pretty much tied to Qt, so we cannot use Kivy at this point. We dont
> use Numpy at this point, but use a lot of other installed packagaes,
> so I am sure we will run into some challenges.
>
> Glad to know that theres a path (even though unclear) for iOS and
> Android. I have had big challenges with the Qt-PyQt ecosystem in
> trying to make a Qt executable using pyqtdeploy. I am thinking of
> using pyinstaller for deploying desktop apps, and re-evaluate
> pyqtdeploy later for mobile platforms.
>
> Thanks
> Chandrakant
>
> ------------------------------------------------------------------------
> *From: *"David Morris" <othalan at othalan.net>
> *To: *"Chandrakant Gopalan" <chandrakant.gopalan at pinogy.com>
> *Cc: *"pyqt" <pyqt at riverbankcomputing.com>
> *Sent: *Tuesday, April 26, 2016 10:47:19 PM
> *Subject: *Re: [PyQt] Has anyone successfully used pyqtdeploy to
> deploy to mobile?
>
> Chandrakant,
> I am using PyQt and pyqtdeploy for writing an iOS app and find it
> generally works very well. There is no official documentation on how
> to do it and the build process is a little bit convoluted, but once
> figured out everything is really quite easy to work with. The big
> challenge is that iOS originally did not support shared libraries and
> pyqtdeploy is not yet setup to support the new (iOS 8.x) shared
> library implementation. Android should be significantly easier to work
> with, though I have not tried it myself.
>
> One of the bigger challenge is if you want to use third-party
> libraries. For example, NumPy does not compile for iOS, but I worked
> around that for version 1.9.3 with a patch to fix a few bugs.
>
> Other alternatives .... PySide is equivalent to PyQt, but does not
> support Qt5 and I haven't seen iOS support. Kivy is an open source
> framework with its own GUI implementation and supports both iOS and
> Android, but I have not attempted using it because of code which
> already utilizes the Qt framework.
>
> David
>
> On Wed, Apr 27, 2016 at 2:45 AM, Chandrakant Gopalan
> <chandrakant.gopalan at pinogy.com
> <mailto:chandrakant.gopalan at pinogy.com>> wrote:
>
> We feel the strength of pyqtdeploy is the fact that its able to
> support mobile platforms. So we invested some time in it, but feel
> that we are running into too many walls, just in generating the QT
> C++ app.
> In comparison, pyinstaller was easier to work with, but does not
> support mobile.
>
> Has anyone successfully deployed Python-based Desktop Qt apps to
> mobile platforms? If so, was it using pyqtdeploy? If not what are
> the other choices?
> Just thought it would be better to check before investing more
> time on it.
>
> Thanks
> Chandrakant
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> <mailto:PyQt at riverbankcomputing.com>
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
>
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160427/4a75c223/attachment.html>
More information about the PyQt
mailing list