Commit 5676abee authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix namespaced build

parent 292ea498
......@@ -116,8 +116,6 @@ private:
friend struct ProFileOption;
};
Q_DECLARE_TYPEINFO(ProFileEvaluator::FunctionDef, Q_MOVABLE_TYPE);
// This struct is from qmake, but we are not using everything.
struct ProFileOption
{
......@@ -168,4 +166,6 @@ struct ProFileOption
QT_END_NAMESPACE
Q_DECLARE_TYPEINFO(ProFileEvaluator::FunctionDef, Q_MOVABLE_TYPE);
#endif // PROFILEEVALUATOR_H
......@@ -142,11 +142,6 @@ private:
friend class ProFileCache;
};
#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
class ProFileCache
{
public:
......@@ -178,4 +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
#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