qt5base-lts/qmake
Joerg Bornemann 98a3634299 Make qmake and qtpaths report Qt version baked into the binaries
QMake and qtpaths used qVersion() to report Qt's version number. This is
problematic if those tools are run in an environment where a different
Qt version is loaded (e.g. by setting LD_LIBRARY_PATH).

This reverts commit a783c3d574, which
changed the use of the QT_VERSION define to a qVersion() call in qmake.
Additionally, we use QT_VERSION in qtpaths too for consistency.

Pick-to: 6.5
Change-Id: I6c8a1aa6ee6169becd7c685a98ce23c22c3864c7
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-01-18 13:21:05 +01:00
..
doc qmake: Document that QMAKE_PRE_LINK does not work with Xcode 2022-12-15 20:23:28 +01:00
generators Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
library Windows: centralize how we handle error messages 2022-11-16 19:44:43 +08:00
cachekeys.h Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
main.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
meta.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
meta.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
option.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
option.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
project.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
property.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
propertyprinter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmake_pch.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmakelibraryinfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00