[PyQt] Compile PyQt 5.2
Phil Thompson
phil at riverbankcomputing.com
Wed Jan 8 22:59:33 GMT 2014
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.sip: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
More information about the PyQt
mailing list