summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjaanttil <janne.anttila@digia.com>2011-11-23 09:40:12 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-07 07:39:37 +0100
commit3e0017128ee9e5244b04c152c49c6287a8e7e873 (patch)
tree5d8153ef0fe047e55e3711da3141a368e00d1eed /examples
parent77a60ad53788aee253ba667cec2928510843c3e6 (diff)
downloadqt4-tools-3e0017128ee9e5244b04c152c49c6287a8e7e873.tar.gz
Fixed Qt examples building when QT_NO_GESTURES is used.
Gesture examples were always enabled regardless the used Qt configuration. Added check for QT_NO_GESTURES to examples.pro, and included gestures examples only when needed. Change-Id: Ic8789aedb1251a3827191c647d4b0c4d5a1b6306 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 810e51adae..f7d5306f54 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -45,6 +45,8 @@ symbian: SUBDIRS = \
gestures \
xml
+contains(DEFINES, QT_NO_GESTURES): SUBDIRS -= gestures
+
!contains(QT_CONFIG, no-gui):contains(QT_CONFIG, multimedia) {
SUBDIRS += multimedia
}