qtbase: remove initial host path from CMake files

Amend 0b55d8ec94 and remove the initial
host paths from CMake files. They point to the temporary build paths
and cause build breaks in declarative builds.

Pick-to: 6.4
Change-Id: I17d46b989f024e71ec617ff130c8ea7d7fc85641
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2022-08-15 06:32:07 +00:00
parent fa46e269e3
commit 7d1d6a11af

View File

@ -152,6 +152,9 @@ do_install:append() {
sed -i ${D}${libdir}/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake \
-e '/QT_SOURCE_TREE/,+2d'
sed -i ${D}${QT6_INSTALL_LIBDIR}/cmake/Qt6/Qt6Dependencies.cmake \
-e '/set(__qt_platform_initial_qt_host/d'
# remove mac and android specific scripts that depend on perl and bash
# to avoid file-rdeps QA Issue.
rm -f ${D}${QT6_INSTALL_LIBEXECDIR}/android_emulator_launcher.sh