diff --git a/app/backend/autoupdatechecker.cpp b/app/backend/autoupdatechecker.cpp index a0e8ca28..1c62e409 100644 --- a/app/backend/autoupdatechecker.cpp +++ b/app/backend/autoupdatechecker.cpp @@ -30,7 +30,7 @@ AutoUpdateChecker::AutoUpdateChecker(QObject *parent) : void AutoUpdateChecker::start() { #if defined(Q_OS_WIN32) || defined(Q_OS_DARWIN) || defined(STEAM_LINK) // Only run update checker on platforms without auto-update -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && !defined(QT_NO_BEARERMANAGEMENT) +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && QT_VERSION < QT_VERSION_CHECK(5, 14, 2) && !defined(QT_NO_BEARERMANAGEMENT) // HACK: Set network accessibility to work around QTBUG-80947 m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible); #endif diff --git a/app/backend/nvhttp.cpp b/app/backend/nvhttp.cpp index 67cc5d2e..0a6bdd5a 100644 --- a/app/backend/nvhttp.cpp +++ b/app/backend/nvhttp.cpp @@ -456,7 +456,7 @@ NvHTTP::openConnection(QUrl baseUrl, // Add our client certificate request.setSslConfiguration(IdentityManager::get()->getSslConfig()); -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && !defined(QT_NO_BEARERMANAGEMENT) +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && QT_VERSION < QT_VERSION_CHECK(5, 14, 2) && !defined(QT_NO_BEARERMANAGEMENT) // HACK: Set network accessibility to work around QTBUG-80947 m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible); #endif