[PyQt] Error configuring PyQt 5.6

Phil Thompson phil at riverbankcomputing.com
Thu Mar 31 08:04:58 BST 2016


On 30 Mar 2016, at 11:39 pm, Glenn Ramsey <gr at componic.co.nz> wrote:
> 
> Hi Phil,
> 
> Sip from Mercurial builds Ok, but I now get this error when configuring PyQt.
> Using the latest snapshot PyQt5_commercial-5.6.dev1603292258, Windows 10, 64 bit
> python, VS 2015.
> 
> Generating the C++ source for the _QOpenGLFunctions_ES2 module...
> C:\Python27\sip.exe -w -f -x VendorID -t WS_WIN -t Qt_5_6_0 -x PyQt_SSL -x
> PyQt_Desktop_OpenGL -x Py_v3 -B Qt_6_0_0 -o -c
> C:\Users\dev\Documents\rp\thirdparty\PyQt5_commercial-5.6.dev1603292258\_QOpenGLFunctions_ES2
> -I sip -I
> C:\Users\dev\Documents\rp\thirdparty\PyQt5_commercial-5.6.dev1603292258\sip
> C:\Users\dev\Documents\rp\thirdparty\PyQt5_commercial-5.6.dev1603292258\sip/_QOpenGLFunctions_ES2/_QOpenGLFunctions_ES2mod.sip
> sip: Parser warning:
> C:\Users\dev\Documents\rp\thirdparty\PyQt5_commercial-5.6.dev1603292258\sip/_QOpenGLFunctions_ES2/qopenglfunctions_es2.sip:240:
> Annotation is unknown
> Error: Unable to create the C++ code.

A simple typo. Look for "TypeHine" and replace it with "TypeHint".

Thanks,
Phil


More information about the PyQt mailing list