Use QT_NO_SSL to check SSL support.

(grafted from 1a1a59bdfb1fbe8d93170fa1a1a41af3424738a7)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-03-04 14:05:13 +02:00
parent 2333a14d4a
commit fc7e28a502

View File

@ -353,7 +353,9 @@ void FvUpdater::startDownloadFeed(const QUrl &url)
request.setHeader(QNetworkRequest::ContentTypeHeader, QStringLiteral("application/xml"));
request.setHeader(QNetworkRequest::UserAgentHeader, QCoreApplication::applicationName());
request.setUrl(url);
#ifndef QT_NO_SSL
request.setSslConfiguration(QSslConfiguration::defaultConfiguration());
#endif
m_reply = m_qnam.get(request);