summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin
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/corelib/plugin
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/corelib/plugin')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro b/tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro
index 541e73636c..3745782dfc 100644
--- a/tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro
+++ b/tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro
@@ -9,7 +9,7 @@ SUBDIRS = lib \
tst.depends += almostplugin
SUBDIRS += almostplugin
}
-macos:qtConfig(private_tests) {
+macos:qtConfig(private_tests):qtHaveModule(gui) {
tst.depends += machtest
SUBDIRS += machtest
}