aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qttools.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qttools.inc')
-rw-r--r--recipes-qt/qt5/qttools.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qttools.inc b/recipes-qt/qt5/qttools.inc
index 0192f228..8c97e249 100644
--- a/recipes-qt/qt5/qttools.inc
+++ b/recipes-qt/qt5/qttools.inc
@@ -1,9 +1,15 @@
require qt5.inc
-DEPENDS += "qtbase qtdeclarative qtwebkit qtxmlpatterns"
+DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
SRC_URI += " \
file://0002-assistant-help-fix-linking-of-dependent-libraries.patch \
+ file://0003-add-noqtwebkit-configuration.patch \
"
FILES_${PN}-examples = "${datadir}/${QT_DIR_NAME}/examples"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[qtwebkit] = ",,qtwebkit"
+
+EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}"