diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-07-11 15:11:35 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-07-13 12:52:00 +0200 |
| commit | 8b5cce6911a0854cd794c23e53908e8ddcc3843f (patch) | |
| tree | 761cf726f6e06ef15fdddf925fbd1116cc81158d /src/widgets/doc/snippets/widgetdelegate.cpp | |
| parent | f71aeea9329faf33d7161e6af88e2a94a35edb9f (diff) | |
CMake: Fix prefix propagation for relocated Qt installations
Consider qtbase built with CMAKE_STAGING_PREFIX=/foo on Windows.
If /foo was moved to /bar, non-qtbase repositories did get a staging
prefix with drive letter assigned. This is undesirable when DESTDIR is
used on installation.
Change the implementation of qt_internal_new_prefix to remove the drive
letter from the "new prefix" if the "old prefix" did not have a drive
letter.
Change-Id: I6fb17e690b264920b0dd4204e3b3c30794c7e76e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/widgetdelegate.cpp')
0 files changed, 0 insertions, 0 deletions
