mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Fix build with new Steam Link SDK
This commit is contained in:
parent
caca491943
commit
fa74700ad9
@ -29,7 +29,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)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && !defined(QT_NO_BEARERMANAGEMENT)
|
||||
// HACK: Set network accessibility to work around QTBUG-80947
|
||||
m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible);
|
||||
#endif
|
||||
|
@ -455,7 +455,7 @@ NvHTTP::openConnection(QUrl baseUrl,
|
||||
// Add our client certificate
|
||||
request.setSslConfiguration(IdentityManager::get()->getSslConfig());
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) && !defined(QT_NO_BEARERMANAGEMENT)
|
||||
// HACK: Set network accessibility to work around QTBUG-80947
|
||||
m_Nam.setNetworkAccessible(QNetworkAccessManager::Accessible);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user