diff --git a/recipes-qt/qt5/qt5-4.999+git.inc b/recipes-qt/qt5/qt5-4.999+git.inc index 099cba85c2..437dc3be40 100644 --- a/recipes-qt/qt5/qt5-4.999+git.inc +++ b/recipes-qt/qt5/qt5-4.999+git.inc @@ -12,7 +12,7 @@ S = "${WORKDIR}/git" PV = "4.999+5.0.0-rc1+git${SRCPV}" LICENSE = "GFDL-1.3 & LGPLv2.1 | GPLv3" -LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=02356821480f1d3d534b21e0343265b5 \ +LIC_FILES_CHKSUM ?= "file://LICENSE.LGPL;md5=02356821480f1d3d534b21e0343265b5 \ file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e" diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index 29f28a717e..b36b46adf2 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc @@ -6,6 +6,8 @@ DEPENDS = "qtbase qtjsbackend" INC_PR = "r0" +QT_MODULE = "${PN}" + inherit qmake5 SRC_URI += " \ diff --git a/recipes-qt/qt5/qtjsbackend-native.inc b/recipes-qt/qt5/qtjsbackend-native.inc index db70fd1153..8a66229a48 100644 --- a/recipes-qt/qt5/qtjsbackend-native.inc +++ b/recipes-qt/qt5/qtjsbackend-native.inc @@ -3,12 +3,14 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffe DEPENDS = "qt5-native" +QT_MODULE = "qtjsbackend" + INC_PR = "r0" inherit native SRC_URI += "\ - file://qmake.conf \ + file://module_qmake.conf \ file://0001-Install-the-mkv8snapshot-tool-to-the-native-side.patch \ " @@ -16,15 +18,33 @@ SRC_URI += "\ # parts of the source tree with out the 'mkv8snapshot' tool if it is enabled and that will fail PARALLEL_MAKE = "" +export QT_CONF_PATH="${WORKDIR}/qt.conf" + do_configure() { # Avoid setting QMAKE_LINK from LD (since we want the linker to be g++) unset LD + cat > ${WORKDIR}/qt.conf <