diff --git a/src/corelib/text/qchar.h b/src/corelib/text/qchar.h index 2a899abf6b..a33bf0b674 100644 --- a/src/corelib/text/qchar.h +++ b/src/corelib/text/qchar.h @@ -639,7 +639,7 @@ private: char16_t ucs; }; -Q_DECLARE_TYPEINFO(QChar, Q_RELOCATABLE_TYPE); +Q_DECLARE_TYPEINFO(QChar, Q_PRIMITIVE_TYPE); #ifndef QT_NO_DATASTREAM Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);