<div dir="ltr"><div><div><div><div><div>I'm trying to compile PyQT against Qt/E and I've run into a problem. Here's the output I'm getting:<br><br>g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/qpy/QtCore -I/usr/include/python2.7 -I/usr/local/Trolltech/QtEmbedded-4.8.4/mkspecs/default -I/usr/local/Trolltech/QtEmbedded-4.8.4/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.8.4/include -o sipQtCoreQThread.o sipQtCoreQThread.cpp<br>
/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore/sipQtCoreQThread.cpp: In function ‘PyObject* meth_QThread_currentThreadId(PyObject*, PyObject*)’:<br>/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore/sipQtCoreQThread.cpp:325:50: error: invalid conversion from ‘Qt::HANDLE {aka void*}’ to ‘long unsigned int’ [-fpermissive]<br>
/usr/include/python2.7/longobject.h:19:24: error:   initializing argument 1 of ‘PyObject* PyLong_FromUnsignedLong(long unsigned int)’ [-fpermissive]<br>make[1]: *** [sipQtCoreQThread.o] Error 1<br>make[1]: Leaving directory `/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore'<br>
make: *** [all] Error 2<br><br></div>PyQT - 4.9.6<br></div>Qt - 4.9.6<br></div>Python - 2.7.2+<br><br></div>I'm doing this on a Beaglebone, hence the desire to use Qt/E.<br><br></div>Any advice you can give will be appreciated.<br>
<br>Cheers<br></div>