From 64b28dd3f4004a6c651b96513820e39f6d0b8c69 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 22 Nov 2017 09:31:41 +0900 Subject: Add build time dependency to qttools-native To support i18n, the project will need the command called lrelease which is in qttools. Change-Id: Ic5a83b5483f27d1260a123ef559b99425f4058e4 Signed-off-by: Tasuku Suzuki --- recipes-demo-hmi/dashboard/dashboard_git.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-demo-hmi/dashboard/dashboard_git.bb b/recipes-demo-hmi/dashboard/dashboard_git.bb index 795e9e129..289b4482e 100644 --- a/recipes-demo-hmi/dashboard/dashboard_git.bb +++ b/recipes-demo-hmi/dashboard/dashboard_git.bb @@ -13,6 +13,11 @@ PV = "1.0+git${SRCPV}" 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 +} -- cgit 1.2.3-korg