[PyQt] pyqtdeploy working environment

Sébastien RAMAGE sramage at poifindus.com
Fri Apr 15 14:39:50 BST 2016


I tried to switch from android-19 to android-21 since linux/can.h exists 
in 
/home/sramage/android/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/linux/can.h
and now I get the following error :


In file included from ../Python-3.5.0/Modules/socketmodule.c:265:0:

../Python-3.5.0/Modules/socketmodule.h:79:25: fatal error: linux/tipc.h: 
No such file or directory

# include <linux/tipc.h>

^

compilation terminated.



it looks like QtCreator is using android-9 instead of android-21, this 
is probably the problem but how can I force QtCreator to use the right 
version ?
I set the environ variable ANDROID_NDK_PLATFORM to android-21 in the 
project setting but it doesn't change anything

/home/sramage/android/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc 
-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 -g -gdwarf-2 -marm -O0 
-fno-omit-frame-pointer -Wno-psabi -D_REENTRANT -fPIC 
-DPYQTDEPLOY_FROZEN_MAIN -DPYQTDEPLOY_OPTIMIZED -DPy_BUILD_CORE 
-DXML_STATIC -DHAVE_EXPAT_CONFIG_H -DQT_QML_DEBUG -DQT_WIDGETS_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -I../build -I. 
-I../Python-3.5.0/Modules/expat -I../Python-3.5.0/Modules 
-I../myapp/include/python3.5 -I../../../Qt/5.4/android_armv7/include 
-I../../../Qt/5.4/android_armv7/include/QtWidgets 
-I../../../Qt/5.4/android_armv7/include/QtGui 
-I../../../Qt/5.4/android_armv7/include/QtCore -I. 
-I../../../android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include 
-I../../../android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include 
-I../../../android/android-ndk-r10e/platforms/android-9/arch-arm/usr/include 
-I../../../Qt/5.4/android_armv7/mkspecs/android-g++ -o socketmodule.o 
../Python-3.5.0/Modules/socketmodule.c




Seb**
*
*
Le 15/04/2016 15:26, Phil Thompson a écrit :
> On 15 Apr 2016, at 2:16 pm, Sébastien RAMAGE <sramage at poifindus.com> wrote:
>> I tried with Python 3.5.0 and the last pyqtdeploy from hg and miracle no problem with time module but I still get problem adding xmlrpc.client , socketmodule.c don't get compiled :
>>
>> In file included from ../Python-3.5.0/Modules/socketmodule.c:265:0:
>> ../Python-3.5.0/Modules/socketmodule.h:83:23: fatal error: linux/can.h: No such file or directory
>>   #include <linux/can.h>
>>                         ^
>> compilation terminated.
> That's usually part of libc-dev.
>
> Phil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160415/59ed49db/attachment-0001.html>


More information about the PyQt mailing list