<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/README#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/PyDroid/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/binaries/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>