[PyQt] Successful ports of PyQt5 apps to Android (redstone-cold)

Sébastien RAMAGE sramage at poifindus.com
Thu Jun 23 11:48:51 BST 2016


Hi!

Attached the scripts I use to configure/compile python environment and 
application

it supposed you have downloaded and installed :
android sdk
android ndk 10e
Qt 5.4.2
Sip 4.18
pyqtdeploy from hg

And downloaded
PyQt gpl 5.4.2
Python source 3.5.1

init.sh containts env variables

compile_all.sh compiles python, PyQt, Sip
compile_python.sh compiles only python

qtdeploy.sh starts pyqtdeploy with the right env variables
qtcreator.sh starts QtCreator with the right env variables

I also customize a bit pyqtdeploy by setting "android=None" in 
pyconfig.py on some configuration values when qtcreator compilation 
failed or app crash
attached my pyconfig.py too

Seb

**
*
*
Le 23/06/2016 12:26, Rembrand at daxLAB a écrit :
>
> Hi Ramac, that is nice to read. I will try in a couple of weeks myself.
>
> ------------------------------------------------------------------------
>
> From: pyqt-request at riverbankcomputing.com To: rembrand at daxlab.com 
> Received at: 2016_Jun_10_15:46
>
> ------------------------------------------------------------------------
>
> Send PyQt mailing list submissions to
>
> pyqt at riverbankcomputing.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> or, via email, send a message with subject or body 'help' to
>
> pyqt-request at riverbankcomputing.com
>
> You can reach the person managing the list at
>
> pyqt-owner at riverbankcomputing.com
>
> When replying, please edit your Subject line so it is more specific
>
> than "Re: Contents of PyQt digest..."
>
> Today's Topics:
>
> 1. Licensing changes in Qt 5.7 (Sebastian Eckweiler)
>
> 2. Re: Licensing changes in Qt 5.7 (Phil Thompson)
>
> 3. Re: Successful ports of PyQt5 apps to Android (redstone-cold)
>
> ----------------------------------------------------------------------
>
> Message: 1
>
> Date: Wed, 8 Jun 2016 15:44:36 +0200
>
> From: Sebastian Eckweiler <sebastian.eckweiler at twt-gmbh.de>
>
> To: "pyqt" <pyqt at riverbankcomputing.com>
>
> Subject: [PyQt] Licensing changes in Qt 5.7
>
> Message-ID:
>
> <OF0B686743.9292F0C2-ONC1257FCC.004B7ECC-C1257FCC.004B7ECE at twt-gmbh.de>
>
> Content-Type: text/plain; charset="utf-8"
>
> An HTML attachment was scrubbed...
>
> URL: 
> <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160608/b08b7931/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
>
> Date: Wed, 8 Jun 2016 17:51:29 +0100
>
> From: Phil Thompson <phil at riverbankcomputing.com>
>
> To: Sebastian Eckweiler <sebastian.eckweiler at twt-gmbh.de>
>
> Cc: pyqt <pyqt at riverbankcomputing.com>
>
> Subject: Re: [PyQt] Licensing changes in Qt 5.7
>
> Message-ID:
>
> <C8ACA50B-FADC-4947-9EB2-344C760CBDCB at riverbankcomputing.com>
>
> Content-Type: text/plain; charset=iso-8859-1
>
> On 8 Jun 2016, at 2:44 pm, Sebastian Eckweiler 
> <sebastian.eckweiler at twt-gmbh.de> wrote:
>
> >
>
> > Hi there,
>
> >
>
> > Qt announced that with Qt 5.7 the Qt Charts module (and others) will 
> also be available under the GPL licensed Qt:
>
> > https://wiki.qt.io/New_Features_in_Qt_5.7
>
> >
>
> > Are there plans to make future versions of PyQtCharts availbable 
> under the GPL as well or to make it part of "plain" PyQt itself?
>
> Yes - it will be packaged separately. Also PyQtDataVisualisation and 
> PyQtPurchasing.
>
> Phil
>
> ------------------------------
>
> Message: 3
>
> Date: Thu, 9 Jun 2016 00:54:48 +0800 (CST)
>
> From: redstone-cold <redstone-cold at 163.com>
>
> To: Sébastien RAMAGE <sramage at poifindus.com>
>
> Cc: pyqt <pyqt at riverbankcomputing.com>
>
> Subject: Re: [PyQt] Successful ports of PyQt5 apps to Android
>
> Message-ID: <1a905e1a.1b0.15530f01472.Coremail.redstone-cold at 163.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> It would be better if you could write a tutorial on porting of PyQt5 
> apps to Android, I googled a lot, but cannot find one.
>
> 在2016年06月07 20时33分, "Sébastien RAMAGE"<sramage at poifindus.com>写道:
>
> I successfully made a app that use xmlrpc (so socket). the app is 
> running 24/24h on cheap android tablet used for employees clocking in/off.
>
> It works good, better than kivy which is slower.
>
> The perfect combo for me is :
>
> python 3.5.1
>
> PyQt 5.4.2
>
> Qt 5.4.2
>
> Sip 4.18
>
> lastest pyqtdeploy
>
> (didn't manage to compile PyQt 5.5 or 5.6)
>
> Seb
>
> Le 07/06/2016 14:06, Rembrand at daxLAB a écrit :
>
> Dear all,
>
> I see a lot of questions about porting PyQt5 applications to Android 
> but I've never have seen a complete example of a full blown 
> application port (using sockets and sqlite modules of Python) to 
> Android (for mobile devices). Is anyone out there that managed to do 
> so successful?
>
> _______________________________________________
>
> PyQt mailing list 
> PyQt at riverbankcomputing.comhttps://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL: 
> <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160609/dd97272a/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
>
> PyQt mailing list
>
> PyQt at riverbankcomputing.com
>
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> ------------------------------
>
> End of PyQt Digest, Vol 143, Issue 12
>
> *************************************
>
>
>
> _______________________________________________
> 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/20160623/5b3b4682/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile_all.sh
Type: application/x-shellscript
Size: 857 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile_python.sh
Type: application/x-shellscript
Size: 289 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.sh
Type: application/x-shellscript
Size: 610 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtcreator.sh
Type: application/x-shellscript
Size: 75 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtdeploy.sh
Type: application/x-shellscript
Size: 99 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyconfig.py
Type: text/x-python
Size: 52849 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160623/5b3b4682/attachment-0001.py>


More information about the PyQt mailing list