summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-01-31 13:51:25 +0100
committerLiang Qi <liang.qi@qt.io>2019-02-01 12:35:31 +0000
commit2d58e369ed692c8a7e639919d15ff6299a76f810 (patch)
tree76f27d51f38c05a5b6c952457180180331350071
parentf7c83f1d59f120d24bb04de55eba5ce84873cf11 (diff)
examples: require widgets explicitly
Task-number: QTQAINFRA-1975 Change-Id: I79d056f32e2cb78458b95744d78c58f4cf762081 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--examples/oauth/oauth.pro9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/oauth/oauth.pro b/examples/oauth/oauth.pro
index 6124292..abac296 100644
--- a/examples/oauth/oauth.pro
+++ b/examples/oauth/oauth.pro
@@ -1,4 +1,7 @@
TEMPLATE = subdirs
-SUBDIRS += \
- twittertimeline \
- redditclient
+
+qtHaveModule(widgets) {
+ SUBDIRS += \
+ twittertimeline \
+ redditclient
+}