Resolved issue #528. Error: QSslSocket: cannot resolve SSLv2_client_method.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-07-20 11:48:09 +03:00
parent 1bffa92127
commit 19387cc80e

View File

@ -79,6 +79,12 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
// Connect this slot with VApplication::aboutToQuit. // Connect this slot with VApplication::aboutToQuit.
Settings()->sync(); Settings()->sync();
}); });
#if !defined(V_NO_ASSERT)
// Ignore SSL-related warnings
// See issue #528: Error: QSslSocket: cannot resolve SSLv2_client_method.
qputenv("QT_LOGGING_RULES", "qt.network.ssl.warning=false");
#endif //!defined(V_NO_ASSERT)
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------