summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-03-16 12:53:35 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-19 20:16:04 +0100
commit10df7967d996f4ec54744a8dd48e41b318377e73 (patch)
tree4831ccd2ebea27a5b29a5095df79fca36b31523d /examples/examples.pro
parent336f24465a106553dae26ac84a3c43f9ad939a57 (diff)
Disable some tests and examples when --no-widgets is specified
There are many tests, examples that depends on widgets. This patch disables some of them if Qt is configured without widgets. Change-Id: I5460dadca736c54221874adcd518a7021725d90a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index e402f29c98..2180d18587 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -15,7 +15,6 @@ SUBDIRS = \
effects \
graphicsview \
ipc \
- itemviews \
layouts \
linguist \
mainwindows \
@@ -25,9 +24,13 @@ SUBDIRS = \
sql \
tools \
tutorials \
- widgets \
touch \
gestures
+
+ !contains(QT_CONFIG, no-widgets) {
+ SUBDIRS += widgets \
+ itemviews
+ }
}
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded