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

Phil Thompson phil at riverbankcomputing.com
Tue Feb 4 17:53:13 GMT 2014

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(...

...or use the current snapshot.


More information about the PyQt mailing list