[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
-I. -I/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/qpy/QtCore
-I/usr/local/Trolltech/QtEmbedded-4.8.4/include -o sipQtCoreQThread.o
/home/ubuntu/Desktop/tmp/PyQt-x11-gpl-4.9.5/QtCore/sipQtCoreQThread.cpp: In
function ‘PyObject* meth_QThread_currentThreadId(PyObject*, PyObject*)’:
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
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.

-------------- 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