summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/tools.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/tools.pro b/tools/tools.pro
index 121507613..3b457ed50 100644
--- a/tools/tools.pro
+++ b/tools/tools.pro
@@ -1,4 +1,8 @@
TEMPLATE = subdirs
+
+!qtHaveModule(3dcore): \
+ return()
+
QT_FOR_CONFIG += 3dcore-private
qtConfig(assimp):qtConfig(commandlineparser): {
SUBDIRS += qgltf