summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-09-26 11:28:45 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-30 06:13:56 +0000
commit42acd3514b740553da7c155cbd2ff8f6386b973d (patch)
treeafc9db5358ecd55b121335a192b10e2ac2633738 /cmake
parentde0f12ec709ebb8d431eaf870ba74d355d38ae85 (diff)
CMake: Write all Host* properties to target_qt.conf
Otherwise, qmake won't work if the host Qt was built with custom INSTALL_BINDIR and friends. Task-number: QTBUG-106712 Change-Id: I436103efc21f245cc220f4706adcab369feba836 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 5818dd3cadfe8184ed37a5d3d8363a1204a90aac) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtQmakeHelpers.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/QtQmakeHelpers.cmake b/cmake/QtQmakeHelpers.cmake
index e10ea2cdd8..f7eb0a91eb 100644
--- a/cmake/QtQmakeHelpers.cmake
+++ b/cmake/QtQmakeHelpers.cmake
@@ -128,6 +128,9 @@ Prefix=${prefix}
"[Paths]
Prefix=${ext_prefix_relative_to_conf_file}
HostPrefix=${host_prefix_relative_to_conf_file}
+HostBinaries=${QT${PROJECT_VERSION_MAJOR}_HOST_INFO_BINDIR}
+HostLibraries=${QT${PROJECT_VERSION_MAJOR}_HOST_INFO_LIBDIR}
+HostLibraryExecutables=${QT${PROJECT_VERSION_MAJOR}_HOST_INFO_LIBEXECDIR}
HostData=${ext_datadir_relative_to_host_prefix}
Sysroot=${sysroot}
SysrootifyPrefix=${sysrootify_prefix}