summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/examples.pro3
-rw-r--r--src/src.pro4
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index bd467b29..babe1b68 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,3 +1,4 @@
TEMPLATE = subdirs
-SUBDIRS += declarative weatherinfo
+
+!isEmpty(QT.quick.name): SUBDIRS += declarative weatherinfo
!contains(QT_CONFIG, no-widgets): SUBDIRS += logfilepositionsource
diff --git a/src/src.pro b/src/src.pro
index 2a616cc8..676d30d8 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,4 +1,6 @@
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS += 3rdparty location plugins imports
+SUBDIRS += 3rdparty location plugins
+
+!isEmpty(QT.quick.name): SUBDIRS += imports