qt.network.ssl.warning=false appears only since Qt 5.4.1.
--HG-- branch : develop
This commit is contained in:
parent
47b1e20257
commit
3e12775a22
|
@ -80,11 +80,13 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
|
||||||
Settings()->sync();
|
Settings()->sync();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 1)
|
||||||
#if defined(V_NO_ASSERT)
|
#if defined(V_NO_ASSERT)
|
||||||
// Ignore SSL-related warnings
|
// Ignore SSL-related warnings
|
||||||
// See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method.
|
// See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method.
|
||||||
qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false");
|
qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false");
|
||||||
#endif //defined(V_NO_ASSERT)
|
#endif //defined(V_NO_ASSERT)
|
||||||
|
#endif // QT_VERSION >= QT_VERSION_CHECK(5, 4, 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user