From 63eeb3b83ea93f003baf3ff8ce300586778810df Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 13 Sep 2022 09:24:24 +0000 Subject: [PATCH] ptest: fix test build with latest qml tools Qml tools are now using --bare option, which limits where the tools tries to find the qml modules. For the test builds, we again need to use QT_ADDITIONAL_PACKAGES_PREFIX_PATH to tell the tools where to find qml files for the Qt module we are currently building. Task-number: QTBUG-106365 Pick-to: dev 6.4 Change-Id: I6dfcd32f405475de0f58448cbaa7a19e26cbcfe8 Reviewed-by: Mikko Gronoff --- recipes-qt/qt6/qt6-ptest.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-qt/qt6/qt6-ptest.inc b/recipes-qt/qt6/qt6-ptest.inc index d66c427..c12c9bf 100644 --- a/recipes-qt/qt6/qt6-ptest.inc +++ b/recipes-qt/qt6/qt6-ptest.inc @@ -34,6 +34,7 @@ EOF -DPython3_EXECUTABLE=${PYTHON} \ ${EXTRA_OECMAKE} \ -DQT_BUILD_STANDALONE_TESTS=ON \ + -DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \ -DCMAKE_STAGING_PREFIX=${D}${prefix} \ -DCMAKE_SKIP_RPATH=ON \ -DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \