Commit 4cc24446 authored by ck's avatar ck
Browse files

Fix compilation with namespaced Qt.

parent ad71e95d
......@@ -164,8 +164,8 @@ struct ProFileOption
#endif
};
QT_END_NAMESPACE
Q_DECLARE_TYPEINFO(ProFileEvaluator::FunctionDef, Q_MOVABLE_TYPE);
QT_END_NAMESPACE
#endif // PROFILEEVALUATOR_H
......@@ -173,11 +173,11 @@ private:
friend class ProFileParser;
};
QT_END_NAMESPACE
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
Q_DECLARE_TYPEINFO(ProFileParser::BlockScope, Q_MOVABLE_TYPE);
Q_DECLARE_TYPEINFO(ProFileParser::Context, Q_PRIMITIVE_TYPE);
#endif
QT_END_NAMESPACE
#endif // PROFILEPARSER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment