summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 7026775c6..c857dbd4e 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,5 +1,9 @@
TEMPLATE=subdirs
-SUBDIRS += qwidget-compositor qwindow-compositor
+SUBDIRS += qwindow-compositor
+
+!contains(QT_CONFIG, no-widgets) {
+ SUBDIRS += qwidget-compositor
+}
contains(QT_CONFIG, quick) {
SUBDIRS += qml-compositor