diff --git a/src/xml/sax/qxml_p.h b/src/xml/sax/qxml_p.h index 7712b5760c..013c2618a3 100644 --- a/src/xml/sax/qxml_p.h +++ b/src/xml/sax/qxml_p.h @@ -104,6 +104,7 @@ private: QString value; int index; }; + friend class QTypeInfo; QStack xmlRefStack; // used for standalone declaration @@ -166,6 +167,7 @@ private: ParseFunction function; int state; }; + friend class QTypeInfo; QStack *parseStack; // used in parseProlog() @@ -294,6 +296,8 @@ private: friend class QXmlSimpleReaderLocator; friend class QDomHandler; }; +Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::ParseState, Q_PRIMITIVE_TYPE); +Q_DECLARE_TYPEINFO(QXmlSimpleReaderPrivate::XmlRef, Q_MOVABLE_TYPE); QT_END_NAMESPACE