qt5base-lts/qmake/generators
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
..
mac Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
unix Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
win32 Set GenerateDebugInformation to true in vcproj if at least /DEBUG is set 2023-01-13 14:29:37 +01:00
makefile.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
makefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefiledeps.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
makefiledeps.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
metamakefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
projectgenerator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
xmloutput.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00