diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-09-26 11:21:02 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-09-28 09:48:20 +0200 |
| commit | ea92137e7624d4abd544d79be8faf99471bfd87b (patch) | |
| tree | de225752792926bbfbbe3bcf6fef846ad10abb33 /src/widgets/doc/snippets/mainwindowsnippet.cpp | |
| parent | c3730ffa9228ba43f4b7c7ec518a7a47e981ff2e (diff) | |
CMake: Fix HostData qmake property for cross builds
The target_qt.conf file contained a wrong HostData value if the
effective data dirs were set to paths of different levels in the host
and target Qt builds. Fix this by computing the relative path from the
mkspec dir's parent to the ext prefix' data dir.
Note that qmake's HostData dir is the root directory of the mkspecs
directory.
Pick-to: 6.4
Task-number: QTBUG-106712
Change-Id: Id8c9de925f5ff51901677b7218621747169a5cec
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
