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>
This commit is contained in:
parent
de0f12ec70
commit
42acd3514b
@ -128,6 +128,9 @@ Prefix=${prefix}
|
|||||||
"[Paths]
|
"[Paths]
|
||||||
Prefix=${ext_prefix_relative_to_conf_file}
|
Prefix=${ext_prefix_relative_to_conf_file}
|
||||||
HostPrefix=${host_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}
|
HostData=${ext_datadir_relative_to_host_prefix}
|
||||||
Sysroot=${sysroot}
|
Sysroot=${sysroot}
|
||||||
SysrootifyPrefix=${sysrootify_prefix}
|
SysrootifyPrefix=${sysrootify_prefix}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user