summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qutf8stringview.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-04-19 16:13:14 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-04-19 17:17:56 +0200
commit15b26935fca4ab14298abdcc70b3cb15b6cca195 (patch)
tree87634a528430399421c6377097660e3f7c634fdc /src/corelib/text/qutf8stringview.h
parent6e8a74712fd28b466ea99bf205c9447cb53c0d2b (diff)
Fix DESTDIR handling on Windows for Qt modules != qtbase
On the CI system, we build qtbase with CMAKE_INSTALL_PREFIX set to a path without a drive letter to support DESTDIR when installing. Other Qt modules are built without CMAKE_INSTALL_PREFIX set. The Qt6BuildInternals package provides a default value. Since commit e6527e2f73663205a0f36feac5a7feda47fba152 this default prefix is calculated from the current installation location. This default prefix however has a drive letter, breaking DESTDIR support. Broken DESTDIR support in this case means for Android that file(INSTALL) can properly install but stripping will silently fail. We now compare the "real path" of the original prefix from qtbase and the calculated prefix. When they're equal, we use the original CMAKE_INSTALL_PREFIX. Pick-to: dev 6.1 Fixes: QTBUG-92890 Change-Id: I96fb0655e02c5c695722b7e01a32e209cbdea4cc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/text/qutf8stringview.h')
0 files changed, 0 insertions, 0 deletions