[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] PyQt4 on Android?
From: Martin Kolman <martin.kolman () gmail ! com>
Date: 2013-05-01 17:59:47
Message-ID: 51815813.4020409 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
1.5.2013 11:35, Detlev Offenbach:
>
> Hello,
>
> is there a way to run PyQt4 application on Android phones or tablets?
> I had the crazy idea to see eric5 work on an Android tablet (the Nexus
> 10 seems to be a reasonable candidate).
>
> Regards,
>
> Detlev
> --
>
> Detlev Offenbach
>
> detlev@die-offenbachs.de
>
>
>
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hi,
I've been recently working on getting Python & Qt applications running
on Android - and got it working in the end. :)
I made a guide about it - I've used PySide as I was not able to get PyQt
to build, but the rest of the guide is not PySide specific
(example project, C++ wrapper, packaging, deployment, debugging, Qt
Components, etc.) and might be useful for your endeavor :) :
http://qt-project.org/wiki/PySide_for_Android_guide
Then there is a follow project up by Aaron Richiger that makes all that
stuff 100x times easier (just check the README for all the handy
features it has) :) :
https://github.com/raaron/pydroid
Both in my example project and in pydroid, all libraries are in a
separate folder and independent from the rest.
So basically if you can make PyQt compile for Android, you can just
replace PySide in the libs folder and your are good to go. :)
The people from the Android-python27 project seem to have been able to
get a working PyQt build, but I was not able to recompile it after
following their instructions:
http://code.google.com/p/android-python27/source/browse/python-build-with-qt/README#23
The prepbuilt PyQt binaries should be in this archive:
http://code.google.com/p/android-python27/source/browse/python-build-with-qt/PyDroid/android/res/raw/python_27.zip
This example APK is using the PyQt libs:
http://code.google.com/p/android-python27/source/browse/python-build-with-qt/binaries/PyDroid-debug.apk
Best wishes
Martin Kolman
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">1.5.2013 11:35, Detlev Offenbach:<br>
</div>
<blockquote cite="mid:5005118.6ti39tm47n@saturn" type="cite">
<meta name="qrichtext" content="1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Hello,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">is there a way to run PyQt4 application on
Android phones or tablets? I had the crazy idea to see eric5
work on an Android tablet (the Nexus 10 seems to be a reasonable
candidate).</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
margin-bottom:0px; margin-left:0px; margin-right:0px;
-qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Regards,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;">Detlev<br>
-- </p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><span style=" font-size:11pt;
font-weight:600;">Detlev Offenbach</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;
-qt-user-state:0;"><a class="moz-txt-link-abbreviated" \
href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a></p> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" \
href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a> <a \
class="moz-txt-link-freetext" \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
Hi,<br>
I've been recently working on getting Python & Qt applications
running on Android - and got it working in the end. :)<br>
I made a guide about it - I've used PySide as I was not able to get
PyQt to build, but the rest of the guide is not PySide specific <br>
(example project, C++ wrapper, packaging, deployment, debugging, Qt
Components, etc.) and might be useful for your endeavor :) :<br>
<a class="moz-txt-link-freetext" \
href="http://qt-project.org/wiki/PySide_for_Android_guide">http://qt-project.org/wiki/PySide_for_Android_guide</a><br>
<br>
Then there is a follow project up by Aaron Richiger that makes all
that stuff 100x times easier (just check the README for all the
handy features it has) :) :<br>
<a class="moz-txt-link-freetext" \
href="https://github.com/raaron/pydroid">https://github.com/raaron/pydroid</a><br> \
<br> Both in my example project and in pydroid, all libraries are in a
separate folder and independent from the rest.<br>
So basically if you can make PyQt compile for Android, you can just
replace PySide in the libs folder and your are good to go. :)<br>
<br>
The people from the Android-python27 project seem to have been able
to get a working PyQt build, but I was not able to recompile it
after following their instructions:<br>
<a class="moz-txt-link-freetext" \
href="http://code.google.com/p/android-python27/source/browse/python-build-with-qt/REA \
DME#23">http://code.google.com/p/android-python27/source/browse/python-build-with-qt/README#23</a><br>
<br>
The prepbuilt PyQt binaries should be in this archive:<br>
<a class="moz-txt-link-freetext" \
href="http://code.google.com/p/android-python27/source/browse/python-build-with-qt/PyD \
roid/android/res/raw/python_27.zip">http://code.google.com/p/android-python27/source/browse/python-build-with-qt/PyDroid/android/res/raw/python_27.zip</a><br>
<br>
This example APK is using the PyQt libs:<br>
<a class="moz-txt-link-freetext" \
href="http://code.google.com/p/android-python27/source/browse/python-build-with-qt/bin \
aries/PyDroid-debug.apk">http://code.google.com/p/android-python27/source/browse/python-build-with-qt/binaries/PyDroid-debug.apk</a><br>
<br>
Best wishes<br>
Martin Kolman<br>
</body>
</html>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic