[PyQt] Building PyQt5 on Windows

Phil Thompson phil at riverbankcomputing.com
Wed Jun 7 10:38:12 BST 2017

On 7 Jun 2017, at 10:02 am, Wallboy <wallboy at wallboy.ca> wrote:
> Uggh... Scratch that. I've been staring at code too long. I was passing --verbose to my build.bat script and not to the actual configure.py script lol. The error was it could not find win32-msvc2015 spec. My Qt 5.9 build only had win32-msvc folder in mkspecs. So I just copied the ones from the 5.8 build. Then the configure went fine. However nmake did not:
> When qmake got to QtNetwork.pro:
> C2027: use of undefined type 'QSslConfiguration'

If your Qt installation doesn't include SSL support then configure.py may not be detecting this properly.

Could you send me a copy of your qtnetwork-config.h (from the QtNetwork sub-directory of the include directory)?


More information about the PyQt mailing list