summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@nokia.com>2012-06-06 15:30:31 +0200
committerAndy Nichols <andy.nichols@nokia.com>2012-06-06 16:50:46 +0200
commit019e931350da21767ea6ce2ff44366c99df4d738 (patch)
treef0f5591ff0faa8630da7de0ac47d522236fa09dc
parent825db7e265e4e6b5bbab68aeb3e9673ba78f92e5 (diff)
downloadqtwayland-019e931350da21767ea6ce2ff44366c99df4d738.tar.gz
qtwayland-019e931350da21767ea6ce2ff44366c99df4d738.tar.bz2
qtwayland-019e931350da21767ea6ce2ff44366c99df4d738.zip
Don't build qwidget compositor when qt is configured with -no-widgets
Change-Id: Ie7952d83527015996fe678ccd68d2984b0119858 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
-rw-r--r--examples/examples.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 7026775..c857dbd 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