From 19387cc80ef2c171f2675bd345c266e5d1f5a6eb Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 20 Jul 2016 11:48:09 +0300 Subject: [PATCH] Resolved issue #528. Error: QSslSocket: cannot resolve SSLv2_client_method. --HG-- branch : develop --- src/libs/vmisc/vabstractapplication.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index 4304f7761..c8e7ea71f 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -79,6 +79,12 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv) // Connect this slot with VApplication::aboutToQuit. 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) } //---------------------------------------------------------------------------------------------------------------------