[PyQt] Compile PyQt 5.2

Phil Thompson phil at riverbankcomputing.com
Sat Jan 18 23:03:00 GMT 2014


On 18-01-2014 10:14 pm, Shiouen wrote:
> Phil Thompson-5 wrote
>> Sorry I was confusing the internal build system with configure.py.
>>
>> Edit sip/QtGui/QtGuimod.sip and comment out or delete the...
>>
>> %Include qpygui_qpair.sip
>>
>> ...line.
>>
>> Phil
>
> Hey there,
>
> I'm experiencing the exact same problem as mentioned by OP.
>
> make[1]: Entering directory 
> `/home/olivier/Desktop/PyQt-gpl-5.2/QtGui'
> g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC 
> -DSIP_PROTECTED_IS_PUBLIC
> -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB 
> -DQT_CORE_LIB
> -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/python2.7
> -I../qpy/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtGui
> -I/usr/include/qt5/QtCore -I. -o
> sipQtGuiQPair0100QOpenGLTextureFilter0100QOpenGLTextureFilter.o
> sipQtGuiQPair0100QOpenGLTextureFilter0100QOpenGLTextureFilter.cpp
> /home/olivier/Desktop/PyQt-gpl-5.2/sip/QtGui/qpygui_qpair.sip:26:26: 
> fatal
> error: QOpenGLTexture: No such file or directory
> compilation terminated.
> make[1]: ***
> [sipQtGuiQPair0100QOpenGLTextureFilter0100QOpenGLTextureFilter.o] 
> Error 1
> make[1]: Leaving directory `/home/olivier/Desktop/PyQt-gpl-5.2/QtGui'
> make: *** [sub-QtGui-all-ordered] Error 2
>
> I tried your proposed actions, but that didn't work out. It actually 
> keeps
> returning this error even when I remove the qpygui_qpair.sip file. 
> Other
> possibilities are welcome.
>
> -v: Python2.7.3, sip 4.15.4, Qt5.2, PyQt5.2

Make sure you do it before running configure.py.

Or just use the current snapshot.

Phil


More information about the PyQt mailing list