qt5base-lts/qmake/generators/unix
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
..
unixmake2.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
unixmake.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
unixmake.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00