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) } //---------------------------------------------------------------------------------------------------------------------