diff --git a/src/tools/qdoc/location.h b/src/tools/qdoc/location.h index ade7a1518a..1cb8e3aec1 100644 --- a/src/tools/qdoc/location.h +++ b/src/tools/qdoc/location.h @@ -105,6 +105,7 @@ private: int lineNo; int columnNo; }; + friend class QTypeInfo; void emitMessage(MessageType type, const QString& message, @@ -124,6 +125,8 @@ private: static QRegExp *spuriousRegExp; static bool logProgress_; }; +Q_DECLARE_TYPEINFO(Location::StackEntry, Q_MOVABLE_TYPE); +Q_DECLARE_TYPEINFO(Location, Q_COMPLEX_TYPE); // stkTop = &stkBottom QT_END_NAMESPACE