To support i18n, the project will need the command called lrelease which
is in qttools.
Change-Id: Ic5a83b5483f27d1260a123ef559b99425f4058e4
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
S = "${WORKDIR}/git"
# build-time dependencies
-DEPENDS += "qtquickcontrols2 virtual/libhomescreen qlibwindowmanager"
+DEPENDS += "qtquickcontrols2 virtual/libhomescreen qlibwindowmanager qttools-native"
inherit qmake5 aglwgt
+
+do_configure_append() {
+ # Find native tools
+ sed -i 's:${STAGING_BINDIR}.*/lrelease:${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/lrelease:g' ${B}/app/Makefile
+}