From 3e12775a22768a21f7e924682e896ba18c7f6ea4 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 2 Aug 2016 13:46:46 +0300 Subject: [PATCH] qt.network.ssl.warning=false appears only since Qt 5.4.1. --HG-- branch : develop --- src/libs/vmisc/vabstractapplication.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index 4dd5b735c..1137c2ef0 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -80,11 +80,13 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv) Settings()->sync(); }); +#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 1) #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) +#endif // QT_VERSION >= QT_VERSION_CHECK(5, 4, 1) } //---------------------------------------------------------------------------------------------------------------------