summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-03-21 10:46:23 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-04-09 12:50:59 +0000
commit0099270008fa1d218fb5ed38028e6e27ca811bb1 (patch)
tree496f03d9d5f387fba958130f0fa47ce7d532dc4f /examples
parent985a61921fbcb893b89b8dde6eeaab5cf8c5dc1c (diff)
Fix the build with -no-gui
Task-number: QTBUG-74602 Change-Id: If9cf0795e887a0b3cdfed0a6f5e7798116ef137d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 6a3c01d76..037f14609 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,5 +1,8 @@
TEMPLATE = subdirs
+!qtHaveModule(3dcore): \
+ return()
+
QT_FOR_CONFIG += 3dcore
qtConfig(qt3d-extras): SUBDIRS += qt3d