[PyQt] Configuration issue with PyQt 5.2, Qt 5.2, Python 2.7 on Windows 7 x64

Phil Thompson phil at riverbankcomputing.com
Sat Feb 15 16:43:11 GMT 2014


On 13-02-2014 4:46 am, Glenn Ramsey wrote:
> On 05/02/14 06:53, Phil Thompson wrote:
>> On 04-02-2014 5:26 pm, Justin Sawatzky wrote:
>>> I'm trying to configure and build PyQt 5.2 for Windows 7 x64 but 
>>> the
>>> configuration process fails every time I try. When I run the
>>> configuration script on verbose mode I get it failing here every 
>>> time:
>>>
>>>  Generating the C++ source for the QtMultimedia module...
>>>  C:FranticDevPythonDeadlineWindows2.7.6x64sip.exe -w -x VendorID -t
>>> WS_WIN -t Qt_5_2_0 -x PyQt_SSL -x PyQt_Desktop_OpenGL -x Py_v3 -o 
>>> -a
>>> QtMultimedia.api -c
>>>
>>> 
>>> c:UsersJustinDownloadsPyQt-commercial-5.2PyQt-commercial-5.2QtMultimedia
>>> -I sip -I
>>> c:UsersJustinDownloadsPyQt-commercial-5.2PyQt-commercial-5.2sip
>>>
>>> 
>>> c:UsersJustinDownloadsPyQt-commercial-5.2PyQt-commercial-5.2sip/QtMultimedia/QtMultimediamod.sip
>>>
>>>  sip: QSslConfiguration is undefined
>>>  Error: Unable to create the C++ code.
>>>
>>>  I've checked my Qt instillation and I do have the 
>>> QSslConfiguration
>>> header and the QtMultimedia and QtNetworkd dlls.
>>>
>>>  Any help will be much appreciated since this is delaying me from
>>> upgrading my project.
>>
>> Find the entry for connectToHostEncrypted() in 
>> qnetworkaccessmanager.sip and
>> surround it by...
>>
>> %If (PyQt_SSL)
>>      void connectToHostEncrypted(...
>> %End
>>
>> ...or use the current snapshot.
>>
>> Phil
>
> I had the same issue with 5.2.1 and have a similar issue with the
> latest snapshot: PyQt-commercial-5.2.1-snapshot-42b4bf1a7bbc
>
> Generating the C++ source for the QtGui module...
> C:\Python27\sip.exe -w -x VendorID -t WS_WIN -t Qt_5_2_0 -x PyQt_SSL
> -x PyQt_Des
> ktop_OpenGL -x Py_v3 -o -a QtGui.api -c
> C:\Users\glenn\Documents\rp\src\Dependen
> cies\PyQt-commercial-5.2.1-snapshot-42b4bf1a7bbc\QtGui -I sip -I
> C:\Users\glenn\
> 
> Documents\rp\src\Dependencies\PyQt-commercial-5.2.1-snapshot-42b4bf1a7bbc\sip
> C:
> 
> \Users\glenn\Documents\rp\src\Dependencies\PyQt-commercial-5.2.1-snapshot-42b4bf
> 1a7bbc\sip/QtGui/QtGuimod.sip
> sip: GLuint64 is undefined
> Error: Unable to create the C++ code.
>
> Is there a fix available for this?

Should be fixed in tonight's snapshot.

Phil


More information about the PyQt mailing list