[PyQt] Missing "%If (PyQt_SSL)" in qnetworkaccessmanager.sip

Mathias.Born at gmx.de Mathias.Born at gmx.de
Tue Jan 28 20:16:25 GMT 2014


Hi,

In the current "PyQt-gpl-5.2.zip", there is a file
"qnetworkaccessmanager.sip" which contains these
lines:

%If (Qt_5_2_0 -)
    void connectToHostEncrypted(const QString &hostName, quint16 port = 443, const QSslConfiguration &sslConfiguration = QSslConfiguration::defaultConfiguration());
%End

This makes sip complain about a missing "QSslConfiguration".

I believe it needs to be wrapped in
%If (PyQt_SSL)
...
%End

Best Regards,
Mathias




More information about the PyQt mailing list