summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/access
diff options
context:
space:
mode:
authorTatiana Borisova <tatiana.borisova@qt.io>2021-09-06 10:11:06 +0300
committerTatiana Borisova <tatiana.borisova@qt.io>2021-09-20 17:29:04 +0300
commit766904bf5b776a6437ca974efbeb9e99ef13e084 (patch)
treedd3b536372c65481b9fa42634d713350d77ecfca /tests/auto/network/access
parente6892f38a084e514bf9c501f3045b297f6260714 (diff)
Compile autotests for Integrity
- process environment/DNS are OFF for INTEGRITY Task-number: QTBUG-96176 Pick-to: 6.2 Change-Id: I189a97f88c96a428586c31a66b8d250e04482900 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/network/access')
-rw-r--r--tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
index 7668e293dd..797b327434 100644
--- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp
@@ -32,7 +32,9 @@
#include <QSemaphore>
#include <QTestEventLoop>
#include <QSignalSpy>
+#if QT_CONFIG(process)
#include <QProcess>
+#endif
#include <QTimer>
#include <QWaitCondition>
#include <QScopeGuard>
@@ -92,6 +94,10 @@ Q_DECLARE_METATYPE(QSharedPointer<char>)
#include "../../../network-settings.h"
+#ifdef Q_OS_INTEGRITY
+#include "qplatformdefs.h"
+#endif
+
Q_DECLARE_METATYPE(QAuthenticator*)
#if QT_CONFIG(networkproxy)
Q_DECLARE_METATYPE(QNetworkProxyQuery)