From b2c1d565cc4c704dfb266d1291dd50a9e4d1c4bc Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 20 Oct 2017 13:48:14 +0200 Subject: 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 --- examples/webengine/webengine.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/webengine/webengine.pro b/examples/webengine/webengine.pro index 3f55888cb..b20b8f118 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 +} -- cgit v1.2.3