summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \