Use QT_NO_SSL to check SSL support.
(grafted from 1a1a59bdfb1fbe8d93170fa1a1a41af3424738a7) --HG-- branch : develop
This commit is contained in:
parent
2333a14d4a
commit
fc7e28a502
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user