summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/util
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/gui/util
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/gui/util')
-rw-r--r--tests/auto/gui/util/qundogroup/tst_qundogroup.cpp2
-rw-r--r--tests/auto/gui/util/qundostack/tst_qundostack.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp b/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp
index 7c45a60c72..c609ab4ffd 100644
--- a/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp
+++ b/tests/auto/gui/util/qundogroup/tst_qundogroup.cpp
@@ -30,7 +30,9 @@
#include <QUndoStack>
#include <QAction>
#include <QSignalSpy>
+#if QT_CONFIG(process)
#include <QProcess>
+#endif
#include <QLibraryInfo>
#include <QTranslator>
diff --git a/tests/auto/gui/util/qundostack/tst_qundostack.cpp b/tests/auto/gui/util/qundostack/tst_qundostack.cpp
index 662dbe3f36..6707c12d80 100644
--- a/tests/auto/gui/util/qundostack/tst_qundostack.cpp
+++ b/tests/auto/gui/util/qundostack/tst_qundostack.cpp
@@ -31,7 +31,9 @@
#include <QAction>
#include <QUndoStack>
#include <QSignalSpy>
+#if QT_CONFIG(process)
#include <QProcess>
+#endif
#include <QTranslator>
#include <QLibraryInfo>