I've been working on getting PySide (LGPL'd Python bindings to Qt, see
http://pyside.org/) to work on Android this week, using the Py4A
project and Necessitas. I've collected the results on this page:
http://thp.io/2011/pyside-android/
Some remarks/problems that I ran into:
* Qt Creator does not allow me to put libraries into libs.xml - they
get overwritten (and deleted) when building the project (I've manually
fixed this by editing libs.xml by hand and copying the shared
libraries in there after having built the project, and then rebuilding
the APK without Qt Creator using "ant install" in the "android/"
folder of my project)
* The libraries downloaded by Ministro are different from the
libraries in the Necessitas SDK (the dynamic linker in the emulator
had problems that were fixed when I overwrote the Ministro libraries
with the (stripped) libraries from the Necessitas SDK) - is this a
known problem and will it be fixed?
* If the library downloads in Ministro are interrupted/incomplete for
some reason, it will act as if the library was downloaded (but
applications trying to use the libraries will fail) - manually
deleting the affected incomplete files fixes the problem and causes
Ministro to redownload the files
* QtGui on Android does not support QSound (at least I had problems
when building PySide) - is this a known problem?
* Also QtOpenGL does not seem to be properly supported - is this
being worked on, or is this out of scope?
Looking forward to your feedback and suggestions. I'd also be happy to
hear your opinion about the current way of packaging, and if it could
be made easier, etc..
By the way: Are there plans to support Qt Mobility + its declarative
components, so I can import QtMultimediaKit in QML and use the Audio
and Video elements?
Thanks,
Thomas