<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="FileOne" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif, Verdana, 'Sans Serif', Sans-Serif; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">Dear all</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">I try to cross compile PyQt5.7, Python 3.4.3, Qt 5.7 for Android on a 64bit Linux Ubuntu based Mint 14.04 machine.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">First I have to remove the version number from QtCoremod.sip to avoid error below:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">/usr/bin/sip -w -f -t WS_X11 -t Qt_5_7_0 -x PyQt_Desktop_OpenGL -x PyQt_SSL -B Qt_6_0_0 -P -o -c /home/thedax/PyQtDeploy/sysroot_android/srcs/PyQt5_gpl-5.7/QtBluetooth -I sip -I /home/thedax/PyQtDeploy/sysroot_android/srcs/PyQt5_gpl-5.7/sip /home/thedax/PyQtDeploy/sysroot_android/srcs/PyQt5_gpl-5.7/sip/QtBluetooth/QtBluetoothmod.sip</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">sip: Deprecation warning: sip/QtCore/QtCoremod.sip:23: %Module version numbers are deprecated and ignored</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">Error: Unable to create the C++ code.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">Once solved, during the make process I get another error almost at the end of making QtCore</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">/home/thedax/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -fno-builtin-memmove -std=c++11 -fno-exceptions -O2 -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -mthumb -fPIC -Wall -Wno-psabi -W -D_REENTRANT -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../../../app/include/python3.4 -I../qpy/QtCore -I/home/thedax/Qt4A/5.7/android_armv7/include -I/home/thedax/Qt4A/5.7/android_armv7/include/QtCore -I. -isystem /home/thedax/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/thedax/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/thedax/Android/Sdk/ndk-bundle/platforms/android-16/arch-arm/usr/include -I/home/thedax/Qt4A/5.7/android_armv7/mkspecs/android-g++ -o qpycore_chimera.o ../qpy/QtCore/qpycore_chimera.cpp</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">../qpy/QtCore/qpycore_chimera.cpp: In member function 'void Chimera::set_qflags()':</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">../qpy/QtCore/qpycore_chimera.cpp:487:24: error: 'pyqt5ClassTypeDef' was not declared in this scope</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> _is_qflags = ((pyqt5ClassTypeDef *)_type)->flags & 0x01;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> ^</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">../qpy/QtCore/qpycore_chimera.cpp:487:43: error: expected primary-expression before ')' token</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> _is_qflags = ((pyqt5ClassTypeDef *)_type)->flags & 0x01;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> ^</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">../qpy/QtCore/qpycore_chimera.cpp:487:44: error: expected ')' before '_type'</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> _is_qflags = ((pyqt5ClassTypeDef *)_type)->flags & 0x01;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"> ^</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">make[1]: *** [qpycore_chimera.o] Error 1</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">make[1]: Leaving directory `/home/thedax/PyQtDeploy/sysroot_android/srcs/PyQt5_gpl-5.7/QtCore'</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">make: *** [sub-QtCore-make_first-ordered] Error 2</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px;"><span style=" font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;">Is there some sort of declaration missing? Got not a single clue what is happening here. Help is appriciated.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; block-indent:0; text-indent:0px; font-family:'DejaVu Sans', Verdana, 'Sans Serif', Sans-Serif; font-size:10pt;"><br /></p></body></html>