diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-09-26 11:28:45 +0200 |
---|---|---|
committer | Jörg Bornemann <joerg.bornemann@qt.io> | 2022-09-29 06:45:32 +0000 |
commit | 5818dd3cadfe8184ed37a5d3d8363a1204a90aac (patch) | |
tree | 2ba06a6cec508b4172fd574ae4c8341dbc9d8df4 | |
parent | 72a3da3d4d69e09e90399aef8434cc6b194ff984 (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.
Pick-to: 6.4
Task-number: QTBUG-106712
Change-Id: I436103efc21f245cc220f4706adcab369feba836
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | cmake/QtQmakeHelpers.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/QtQmakeHelpers.cmake b/cmake/QtQmakeHelpers.cmake index 1720772bf2..2d26d27386 100644 --- a/cmake/QtQmakeHelpers.cmake +++ b/cmake/QtQmakeHelpers.cmake @@ -131,6 +131,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} |