summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-10-20 13:48:14 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-10-20 15:19:24 +0000
commitb2c1d565cc4c704dfb266d1291dd50a9e4d1c4bc (patch)
tree522a1218b3e1c7910133c1876e607ae3761098b2
parent658bae2541f3f9dbe9dadf288d967b187521f5b6 (diff)
Build recipebrowser only if QtQuickControls2 is available
This fixes the examples build if the QtQuickControls2 is unavailable. Task-number: QTBUG-63904 Change-Id: I2d5ff0920cc960af6df556543fd77abdc21d4a8a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--examples/webengine/webengine.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/webengine/webengine.pro b/examples/webengine/webengine.pro
index 3f55888c..b20b8f11 100644
--- a/examples/webengine/webengine.pro
+++ b/examples/webengine/webengine.pro
@@ -3,5 +3,9 @@ TEMPLATE=subdirs
SUBDIRS += \
customdialogs \
minimal \
- quicknanobrowser \
- recipebrowser
+ quicknanobrowser
+
+qtHaveModule(quickcontrols2) {
+ SUBDIRS += \
+ recipebrowser
+}