qt5base-lts/qmake
Sona Kurazyan 50b05e3e2a Move qVersion() from qglobal.h to qlibraryinfo.h
Since qVersion() might be called also from C code, disable the parts of
qlibraryinfo.h that are relevant only for C++ code if __cplusplus is not
defined.

[ChangeLog][Potentially Source-Incompatible Changes] qVersion() is
moved from qglobal.h to qlibraryinfo.h, '#include <QtCore/QLibraryInfo>'
needs to be added where it's used.

Task-number: QTBUG-99313
Change-Id: I3363ef3fa4073114e5151cb3a2a1e8282ad42a4d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-09-01 13:26:30 +02:00
..
doc Doc: Clarify qmake's c++latest CONFIG value 2022-06-29 18:32:05 +02:00
generators Move qVersion() from qglobal.h to qlibraryinfo.h 2022-09-01 13:26:30 +02:00
library Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
cachekeys.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
main.cpp QtBase tools: port away from deprecated qSetGlobalQHashSeed(0) 2022-08-30 22:46:34 +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 Move qVersion() from qglobal.h to qlibraryinfo.h 2022-09-01 13:26:30 +02:00
option.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.cpp Move qVersion() from qglobal.h to qlibraryinfo.h 2022-09-01 13:26:30 +02:00
property.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +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 Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00