diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-12-05 22:29:08 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-12-08 04:08:22 +0000 |
commit | e4851fedd429cfe00de061e81596856fdd22d2c8 (patch) | |
tree | d5003475447ed8767153574a15cb2e1dffe09731 /src/corelib/global/qglobal.h | |
parent | 4673f00277ee0dbb01719e37b53dc1745e232ccd (diff) |
Move qVersion() into it's own header
Partially reverts 50b05e3e2ad969abf4b939d5db2253380e47d775.
The move of qVersion() from qglobal.h into qlibraryinfo.h, a header
not included by qglobal.h, was a conscious, documented, QUIP-0006-
allowed, but stetching the SiC Type A definition, and therefore
unwarranted, SiC.
Fix by moving qVersion() into its own header file, qtversion.h,
included from qglobal.h.
[ChangeLog][Editorial] Remove the entry for qVersion() being moved to
qlibraryinfo.h.
Fixes: QTBUG-108818
Change-Id: I3524802348635512a63fbbb55ddc28ad28f331e8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r-- | src/corelib/global/qglobal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index f78d7e9445..fe3403fc60 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -37,6 +37,7 @@ #include <QtCore/qtypes.h> #include <QtCore/qtclasshelpermacros.h> +#include <QtCore/qtversion.h> #ifndef __ASSEMBLER__ #if defined(__cplusplus) |