summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-06 23:07:43 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-25 07:51:23 +0200
commitdda72593b592934dfed890f83c216efcf292ac8e (patch)
tree80653d4e670d4767edf0f18d9ad23e20a74cfff5 /examples
parent21e3c556d9d9c190edabd13144b531898ceb3570 (diff)
Fix compilation of examples when Qt is configured with -no-widgets
Change-Id: I5c3f34a64ea95fcb47cf905d4d86af99256ab848 Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index c8c9d1f9..c40706b5 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,9 +1,12 @@
TEMPLATE = subdirs
-SUBDIRS += btchat \
- btscanner \
- btfiletransfer \
- bttennis \
- scanner
+!contains(QT_CONFIG, no-widgets) {
+ SUBDIRS += btchat \
+ btscanner \
+ btfiletransfer \
+ bttennis
+}
+
+SUBDIRS += scanner
#Qt NFC based examples
#SUBDIRS += poster \