diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-06-22 21:28:30 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-06-28 16:30:37 +0000 |
commit | d0ff272af3a44007fa12e7ffbe074ce7a6732cc0 (patch) | |
tree | 189cc2f7389f14be800805cc5cbadea7e07d5212 | |
parent | e9b44518a6b372b694d8da28f8c21971bff05d3f (diff) |
QOperatingSystemVersion: mark as Q_RELOCATABLE_TYPE
and Q_PRIMITIVE_TYPE-come-Qt-6.
Change-Id: I97bb9add8ed0870fb70c231d6fed6abce8729434
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/global/qoperatingsystemversion.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qoperatingsystemversion.h b/src/corelib/global/qoperatingsystemversion.h index 9345982658..697aeec933 100644 --- a/src/corelib/global/qoperatingsystemversion.h +++ b/src/corelib/global/qoperatingsystemversion.h @@ -123,6 +123,7 @@ private: static int compare(const QOperatingSystemVersion &v1, const QOperatingSystemVersion &v2); }; +Q_DECLARE_TYPEINFO(QOperatingSystemVersion, QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ? Q_RELOCATABLE_TYPE : Q_PRIMITIVE_TYPE); QT_END_NAMESPACE |