Hi,
I've been attempting to build PySide 1.1.1 for android, with python2.7 from
https://github.com/kivy/python-for-androidand using Necessita's bundled NDK r6b with Linaro's toolchain 4.6.2.
I'm using adapted versions of Thomas Perl's patches.
So far, I've been able to build libshiboken, but i has been built as libshiboken.so while PySide looks for libshiboken-python27.so.
A symlink solved that.
Then PySide would complain about missing shiboken binary... then a symlink against the host machine shiboken binary solved that too.
And now I'm stuck trying to generate the bindings for QtCore:
Linking CXX shared library libpyside.so
[ 3%] Built target pyside
[ 4%] Running generator for QtCore...
Fatal error: line=22, column=71, message=Failed to parse: 'typesystem_core_android.xml'
Cannot parse file: /home/ssorgatem/pyside-android/BuildScripts/pyside/build/PySide/QtCore/typesystem_core.xmlmake[2]: *** [PySide/QtCore/PySide/QtCore/qabstracteventdispatcher_wrapper.cpp] Error 1
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
make: *** [all] Error 2
The relevant contents on typesystem_core.xml are:
<typesystem package="PySide.QtCore">
<load-typesystem name="typesystem_core_android.xml" generate="yes"/>
<load-typesystem name="typesystem_core_common.xml" generate="yes"/>
</typesystem>
But typesystem_core_android.xml does not exist. If I write it by hand it disappears again, so it's being removed, and
therefore I guess it should be generated in some way... but how?
Any ideas?
Thank you,
Adrià