[PyQt] PyQt4 on Android?

2013-05-01 Thread 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*
det...@die-offenbachs.de
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] PyQt4 on Android?

2013-05-01 Thread Phil Thompson
On Wed, 01 May 2013 11:35:19 +0200, Detlev Offenbach
det...@die-offenbachs.de wrote:
 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).

I don't plan to support PyQt4 on Android - but I'll accept patches from
anybody who does a port.

PyQt5 will be supported on Android (and iOS) once Digia add support for
these. One of the reasons for the new build system is to support
cross-compilation to these devices.

The first PyQt5 snapshots should be available in the next few days.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 on Android?

2013-05-01 Thread zw g
Awesome!
I can't wait to see this happen.

Many thanks to your guys!

Gui


On Wed, May 1, 2013 at 6:13 PM, Phil Thompson
p...@riverbankcomputing.comwrote:

 On Wed, 01 May 2013 11:35:19 +0200, Detlev Offenbach
 det...@die-offenbachs.de wrote:
  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).

 I don't plan to support PyQt4 on Android - but I'll accept patches from
 anybody who does a port.

 PyQt5 will be supported on Android (and iOS) once Digia add support for
 these. One of the reasons for the new build system is to support
 cross-compilation to these devices.

 The first PyQt5 snapshots should be available in the next few days.

 Phil
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] PyQt4 on Android?

2013-05-01 Thread Detlev Offenbach
Hello,

will the PyQt5 structure be the same as PyQt4 in the areas where we have 
an overlap? If that would be the case porting an application from PyQt4 to 
PyQt5 would simply be a matter of replacing PyQt4 with PyQt5.

Detlev

On Wednesday 01 May 2013, 11:13:41 Phil Thompson wrote:
 On Wed, 01 May 2013 11:35:19 +0200, Detlev Offenbach
 
 det...@die-offenbachs.de wrote:
  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).
 
 I don't plan to support PyQt4 on Android - but I'll accept patches from
 anybody who does a port.
 
 PyQt5 will be supported on Android (and iOS) once Digia add support for
 these. One of the reasons for the new build system is to support
 cross-compilation to these devices.
 
 The first PyQt5 snapshots should be available in the next few days.
 
 Phil
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt-- 
*Detlev Offenbach*
det...@die-offenbachs.de
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] PyQt4 on Android?

2013-05-01 Thread Phil Thompson
On Wed, 01 May 2013 16:22:35 +0200, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Hello,
 
 will the PyQt5 structure be the same as PyQt4 in the areas where we have

 an overlap? If that would be the case porting an application from PyQt4
to 
 PyQt5 would simply be a matter of replacing PyQt4 with PyQt5.

There will be some incompatibilities (I'll go into more detail when the
first snapshot is ready) but nothing massively different (because Qt5 isn't
massively different to Qt4).

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] PyQt4 on Android?

2013-05-01 Thread Martin Kolman

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

det...@die-offenbachs.de



___
PyQt mailing listPyQt@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
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] pyqt4 and android

2012-12-10 Thread José M . Rodriguez Bacallao
hi folks, can I install PyQt4 on android?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt