summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2017-02-06 12:31:22 +0200
committerIikka Eklund <iikka.eklund@qt.io>2017-02-06 11:47:44 +0000
commiteedfd806debaa8a27dbe4c50362e2a63526a2e98 (patch)
tree869c60b808f923f728954621093d905c56c5f3fa
parentf5c7b96b1ba10af683ee8d5f65234b7e7db1a370 (diff)
Do not try to compile if the QtWebEngine is missing
The Qt Web Browser is now part of Automotive super repository (tqtc-boot2qt/b2qt-super) and also part of the Automotive releases. We don't want to make the qtwebbrowser to fail b2qt-super integration in Coin/CI if some platform configuration does not support qtwebengine. We just want it to ignore that specific build. Change-Id: Ifc0b85e2e8617f7c6bbd6e6a1a5d6282cb8de75f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--qtwebbrowser.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtwebbrowser.pro b/qtwebbrowser.pro
index 61ab909..2bce66e 100644
--- a/qtwebbrowser.pro
+++ b/qtwebbrowser.pro
@@ -1,6 +1,8 @@
TEMPLATE = subdirs
SUBDIRS = src
+requires(qtHaveModule(webengine))
+
QTWEBBROWSER_VERSION = 1.0.0
QTWEBBROWSER_VERSION_TAG = 100