summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@theqtcompany.com>2015-08-26 17:37:30 +0200
committerChristian Stromme <christian.stromme@theqtcompany.com>2015-08-28 14:50:46 +0000
commit01eb75e885aed60036a9039a5b82fd99f4e50e7f (patch)
tree9509217164cdeb59cfc74827eaaa37cb3c8eae62
parent825c9ca622f903c4a5dd5b6d12120a167c7c7b47 (diff)
Don't produce a build error on platforms with no WebView backends.
Change-Id: I8fc55d1c4e82e9a635107b8adc40c143f405eb93 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
-rw-r--r--src/src.pro8
1 files 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