diff options
author | jaanttil <janne.anttila@digia.com> | 2011-11-23 07:40:12 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-07 06:39:37 (GMT) |
commit | 3e0017128ee9e5244b04c152c49c6287a8e7e873 (patch) | |
tree | 5d8153ef0fe047e55e3711da3141a368e00d1eed /examples | |
parent | 77a60ad53788aee253ba667cec2928510843c3e6 (diff) | |
download | Qt-3e0017128ee9e5244b04c152c49c6287a8e7e873.zip Qt-3e0017128ee9e5244b04c152c49c6287a8e7e873.tar.gz Qt-3e0017128ee9e5244b04c152c49c6287a8e7e873.tar.bz2 |
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.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/examples.pro b/examples/examples.pro index 810e51a..f7d5306 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 } |