qt6-bb10/qmake
Joerg Bornemann fc16855eaa Fix qmake/qtpaths -query for static relocatable builds
The install prefix was determined incorrectly for static relocatable
builds.  The reason was that for those builds, QLibraryInfo::path()
returns the application directory, which is <prefix>/bin for qmake and
qtpaths.

Fix this by removing the bin directory part from the installation prefix
that QLibraryInfo returns if qmake/qtpaths are used.

Fixes: QTBUG-102877
Change-Id: I2e9ff96ded0ee2a7802b265741a3cfbe2bf0a4ba
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-05-09 08:32:04 +02:00
..
doc Doc: Mention how to interrupt/continue qmake loops 2022-01-08 18:08:08 +01:00
generators qmake: Use qVersion for version reporting instead of QT_VERSION_STR 2022-05-06 12:51:12 +02:00
library QMake: replace a Q_ASSERT() with a Q_UNREACHABLE() 2022-01-25 03:48:46 +01:00
CMakeLists.txt qmake: Use qVersion for version reporting instead of QT_VERSION_STR 2022-05-06 12:51:12 +02:00
cachekeys.h qmake: Clear caches before exiting 2021-05-06 23:49:20 +02:00
main.cpp QDirIterator: add nextFileInfo() 2021-07-28 15:16:42 +02:00
meta.cpp qmake: Remove dead code 2019-04-05 07:48:34 +00:00
meta.h qmake: Remove dead code 2019-04-05 07:48:34 +00:00
option.cpp qmake: Use qVersion for version reporting instead of QT_VERSION_STR 2022-05-06 12:51:12 +02:00
option.h Move the common qmake sources into a object library 2021-03-11 15:46:34 +01:00
project.cpp qmake: Clear caches before exiting 2021-05-06 23:49:20 +02:00
project.h Port qmake from QStringRef to QStringView 2020-06-05 09:07:14 +02:00
property.cpp qmake: Use qVersion for version reporting instead of QT_VERSION_STR 2022-05-06 12:51:12 +02:00
property.h Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
propertyprinter.cpp Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
propertyprinter.h Add support for various output formats for QMakeProperty 2021-03-12 13:20:00 +01:00
qmake_pch.h Move QRegExp and its remaining mentions out of QtCore 2020-07-13 10:53:23 +02:00
qmakelibraryinfo.cpp Fix qmake/qtpaths -query for static relocatable builds 2022-05-09 08:32:04 +02:00
qmakelibraryinfo.h Unify QLibraryInfo settings 2021-03-17 11:57:11 +01:00