From 01eb75e885aed60036a9039a5b82fd99f4e50e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Str=C3=B8mme?= Date: Wed, 26 Aug 2015 17:37:30 +0200 Subject: Don't produce a build error on platforms with no WebView backends. Change-Id: I8fc55d1c4e82e9a635107b8adc40c143f405eb93 Reviewed-by: Frederik Gladhorn --- src/src.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/src.pro b/src/src.pro index 2a54287..5ad4fa8 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,4 +1,8 @@ TEMPLATE = subdirs -SUBDIRS += webview imports -imports.depends = webview + +android|mac|winrt|qtHaveModule(webengine) { + SUBDIRS += webview imports + imports.depends = webview +} + android: SUBDIRS += jar -- cgit v1.2.3