aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2016-02-10 21:09:09 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2016-02-11 08:25:29 +0000
commit632a77b9cf719e69dc122d44a9bb9b17db81f4e3 (patch)
tree1be858013daa5885870f58e6c5b470b35f5acaf7
parentbf5b4dee850c9c52757e6feecdd2c74009ef3e82 (diff)
Fix example compilation with no-widgets
Change-Id: I87bb9eedb872999dcb55cbe38b349cbbe2d1bc64 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
-rw-r--r--examples/examples.pro11
1 files changed, 7 insertions, 4 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 98b36ab..aa36739 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -3,8 +3,11 @@ TEMPLATE = subdirs
SUBDIRS += simple
qtHaveModule(quick) {
- SUBDIRS += quickGamepad \
- keyNavigation \
- configureButtons \
- mouseItem
+ SUBDIRS += configureButtons
+
+ qtHaveModule(widgets) {
+ SUBDIRS += quickGamepad \
+ keyNavigation \
+ mouseItem
+ }
}