qt5base-lts/qmake/generators
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
..
mac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
unix Move qVersion() from qglobal.h to qlibraryinfo.h 2022-09-01 13:26:30 +02:00
win32 qmake/msbuild: Turn off "use full paths in diagnostics" by default 2022-06-22 16:05:07 +02:00
makefile.cpp Move qVersion() from qglobal.h to qlibraryinfo.h 2022-09-01 13:26:30 +02:00
makefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
makefiledeps.cpp Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
makefiledeps.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metamakefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
projectgenerator.cpp Rename QT_DISABLE_DEPRECATED_BEFORE -> QT_DISABLE_DEPRECATED_UP_TO 2022-08-19 23:52:05 +02:00
projectgenerator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xmloutput.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00