[PyQt] Building PyQt5 on Windows

Wallboy wallboy at wallboy.ca
Wed Jun 7 10:47:15 BST 2017


#define QT_FEATURE_networkinterface 1
#define QT_FEATURE_bearermanagement 1
#define QT_FEATURE_ftp 1
#define QT_NO_GETADDRINFO
#define QT_NO_GETIFADDRS
#define QT_FEATURE_http 1
#define QT_NO_IPV6IFNAME
#define QT_FEATURE_localserver 1
#define QT_FEATURE_networkdiskcache 1
#define QT_FEATURE_networkproxy 1
#define QT_NO_OPENSSL true
#define QT_FEATURE_sctp -1
#define QT_NO_SCTP
#define QT_FEATURE_socks5 1
#define QT_FEATURE_ssl -1
#define QT_NO_SSL
#define QT_FEATURE_udpsocket 1

And here is the relevant config.summary of QtNetwork of the Qt 5.9 
configure:

Qt Network:
   getaddrinfo() .......................... no
   getifaddrs() ........................... no
   IPv6 ifname ............................ no
   libproxy ............................... no
   OpenSSL ................................ no
     Qt directly linked to OpenSSL ........ no
   SCTP ................................... no
   Use system proxies ..................... yes


On 6/7/2017 3:38 AM, Phil Thompson wrote:
> 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)?
>
> Phil



More information about the PyQt mailing list