diff --git a/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.cpp b/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.cpp index f6dd23115..1e90d4ccd 100644 --- a/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.cpp +++ b/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.cpp @@ -55,7 +55,7 @@ * QxtSslServer is only available if Qt was compiled with OpenSSL support. */ -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) #include class QxtSslServerPrivate : public QxtPrivate diff --git a/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.h b/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.h index 7ea474b26..87c8f34f2 100644 --- a/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.h +++ b/thirdparty/qxt/qxtweb-standalone/network/qxtsslserver.h @@ -35,7 +35,7 @@ #include "qxtglobal.h" #include -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) #include class QxtSslServerPrivate; diff --git a/thirdparty/qxt/qxtweb-standalone/web/qxtabstracthttpconnector.h b/thirdparty/qxt/qxtweb-standalone/web/qxtabstracthttpconnector.h index 33ee3c3c2..af10737f1 100644 --- a/thirdparty/qxt/qxtweb-standalone/web/qxtabstracthttpconnector.h +++ b/thirdparty/qxt/qxtweb-standalone/web/qxtabstracthttpconnector.h @@ -95,7 +95,7 @@ private: QXT_DECLARE_PRIVATE(QxtHttpServerConnector) }; -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) class QXT_WEB_EXPORT QxtHttpsServerConnector : public QxtHttpServerConnector { Q_OBJECT diff --git a/thirdparty/qxt/qxtweb-standalone/web/qxthttpserverconnector.cpp b/thirdparty/qxt/qxtweb-standalone/web/qxthttpserverconnector.cpp index 270e840e9..04c4e8af9 100644 --- a/thirdparty/qxt/qxtweb-standalone/web/qxthttpserverconnector.cpp +++ b/thirdparty/qxt/qxtweb-standalone/web/qxthttpserverconnector.cpp @@ -191,7 +191,7 @@ void QxtHttpServerConnector::writeHeaders(QIODevice* device, const QHttpResponse device->write(header.toString().toUtf8()); } -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) /*! * Creates a QxtHttpsServerConnector with the given \a parent. */ diff --git a/thirdparty/qxt/qxtweb-standalone/web/qxthttpsessionmanager.cpp b/thirdparty/qxt/qxtweb-standalone/web/qxthttpsessionmanager.cpp index f74d31a89..2ba95514f 100644 --- a/thirdparty/qxt/qxtweb-standalone/web/qxthttpsessionmanager.cpp +++ b/thirdparty/qxt/qxtweb-standalone/web/qxthttpsessionmanager.cpp @@ -68,7 +68,7 @@ posting events. It is reentrant for all other functionality. #include #include #include -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) #include #endif @@ -437,7 +437,7 @@ void QxtHttpSessionManager::incomingRequest(quint32 requestID, const QHttpReques if (socket) { event->remoteAddress = socket->peerAddress(); -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) QSslSocket* sslSocket = qobject_cast(socket); if(sslSocket) { event->isSecure = true; diff --git a/thirdparty/qxt/qxtweb-standalone/web/qxtwebevent.h b/thirdparty/qxt/qxtweb-standalone/web/qxtwebevent.h index fa491e918..b22f4b3c2 100644 --- a/thirdparty/qxt/qxtweb-standalone/web/qxtwebevent.h +++ b/thirdparty/qxt/qxtweb-standalone/web/qxtwebevent.h @@ -41,7 +41,7 @@ #include #include #include -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) #include #endif QT_FORWARD_DECLARE_CLASS(QIODevice) @@ -89,7 +89,7 @@ public: QString method; QHostAddress remoteAddress; bool isSecure; -#ifndef QT_NO_OPENSSL +#if defined(QT_SECURETRANSPORT) || defined(QT_OPENSSL) QSslCertificate clientCertificate; #endif