[PyKDE] Build error with current sip/PyQt4

Phil Thompson phil at riverbankcomputing.co.uk
Wed Dec 7 10:06:30 GMT 2005


On Monday 05 December 2005 10:29 am, Torsten Marek wrote:
> Hi Phil,
>
> my configure call is
> $ QMAKESPEC=linux-g++ configure.py -q /usr/share/qt4 -c -j 4
> LIBDIR_QT=/usr/lib
>
> I get the following error
>
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -I.
> -I/usr/share/qt4/include/QtCore -I/usr/include/python2.4
> -I/usr/share/qt4/include -I/usr/X11R6/include -o sipQtCorepart2.o
> sipQtCorepart2.cpp
> /home/shlomme/src/debs/pyqt4/python-qt4-0.1+snapshot20051204/sip/QtCore/qgl
>obal.sip: In function »int
> convertTo_QEventLoop_ProcessEventsFlags(PyObject*, void**, int*)«:
> /home/shlomme/src/debs/pyqt4/python-qt4-0.1+snapshot20051204/sip/QtCore/qgl
>obal.sip:196: Fehler: »sipEnum_QEventLoop_ProcessEventsFlag« wurde in diesem
> Gültigkeitsbereich nicht definiert (not defined in current scope)
> /home/shlomme/src/debs/pyqt4/python-qt4-0.1+snapshot20051204/sip/QtCore/qgl
>obal.sip:205: Fehler: »sipEnum_QEventLoop_ProcessEventsFlag« wurde in diesem
> Gültigkeitsbereich nicht definiert
>
> which is fixed by adding an include of sipQtQEventloop.h to
> sipQtCorepart2.cpp.

This should be fixed by the current SIP snapshot.

Thanks,
Phil




More information about the PyQt mailing list