[PyQt] Compile PyQt 5.2

Phil Thompson phil at riverbankcomputing.com
Thu Jan 9 15:51:57 GMT 2014


On 09-01-2014 3:44 pm, Charlie Gentil wrote:
> Le mercredi 8 janvier 2014, 22:59:33 Phil Thompson a écrit :
>> On 08-01-2014 8:16 pm, Charlie Gentil wrote:
>> > Hello,
>> >
>> > I try to compile PyQt 5.2 for Python 3 on Debian Sid.
>> >
>> > When I run make I have the following error message:
>> >
>> >
>> > 
>> /home/charlie/downloads/PyQt-gpl-5.2/PyQt-gpl-5.2/sip/QtGui/qpygui_qpair.s
>> > ip:26:26: fatal error: QOpenGLTexture: Aucun fichier ou dossier de 
>> ce type
>> >
>> >  #include <QOpenGLTexture>
>> >
>> >  ^
>> >
>> > compilation terminated.
>> >
>> > make[1]: ***
>> > [sipQtGuiQPair0100QOpenGLTextureFilter0100QOpenGLTextureFilter.o]
>> > Erreur 1
>> >
>> > make[1]: quittant le répertoire «
>> > /home/charlie/downloads/PyQt-gpl-5.2/PyQt-gpl-5.2/QtGui »
>> >
>> > make: *** [sub-QtGui-make_first-ordered] Erreur 2
>> >
>> > Can you help me?
>> >
>> > In advance thank you.
>> >
>> > Charlie
>>
>> There is a bug compiling against versions of Qt prior to v5.2. 
>> Probably
>> the simplest workaround is just to remove the file
>> qpy/QtGui/qpygui_qpair.sip before running configure.py.
>>
>> Phil
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
> Hi,
>
> Unfortunately this file is not present ...
>
> Have you another solution

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


More information about the PyQt mailing list