summaryrefslogtreecommitdiffstats
path: root/tests/auto/other
diff options
context:
space:
mode:
authorAlex Richardson <arichardson.kde@gmail.com>2018-09-13 16:42:06 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-03-04 12:25:53 +0000
commit47bb74fd156edb93d85c88db4d6ff98648bce275 (patch)
treebea1dffd9f85c522c36fa8498b00fc253f0766b2 /tests/auto/other
parentcc7444eb65fc42f00a33275f6b8d1d3d39f4d715 (diff)
Fix build with -no-gui on macOS
Some directories that depend on QtGui were being included without the appropriate check for qtHaveModule(gui). Change-Id: I7c348c74464d44cbd35a027f188f8a23bb2021d9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/other')
-rw-r--r--tests/auto/other/other.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/other.pro b/tests/auto/other/other.pro
index a720860288..25ab62a1c3 100644
--- a/tests/auto/other/other.pro
+++ b/tests/auto/other/other.pro
@@ -56,7 +56,7 @@ winrt|!qtHaveModule(gui)|!qtConfig(accessibility): SUBDIRS -= qaccessibility
!qtConfig(process): SUBDIRS -= qprocess_and_guieventloop
-!mac: SUBDIRS -= \
+!macos|!qtHaveModule(gui): SUBDIRS -= \
macgui \
macnativeevents \
macplist \