[PyQt] PyQT4 and Qt Embedded 4.8.4

IhatemyISP ihatemyisp at gmail.com
Fri Feb 1 08:01:53 GMT 2013


I'm trying to compile PyQT against Qt/E and I've run into a problem. Here's
the output I'm getting:

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
/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore/sipQtCoreQThread.cpp: In
function ‘PyObject* meth_QThread_currentThreadId(PyObject*, PyObject*)’:
/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]
/usr/include/python2.7/longobject.h:19:24: error:   initializing argument 1
of ‘PyObject* PyLong_FromUnsignedLong(long unsigned int)’ [-fpermissive]
make[1]: *** [sipQtCoreQThread.o] Error 1
make[1]: Leaving directory
`/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore'
make: *** [all] Error 2

PyQT - 4.9.6
Qt - 4.9.6
Python - 2.7.2+

I'm doing this on a Beaglebone, hence the desire to use Qt/E.

Any advice you can give will be appreciated.

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130201/7cfa68b3/attachment.html>


More information about the PyQt mailing list