-
Committer:
Friedemann Kleint
-
Date:
2015-02-02 18:59:22 UTC
-
Revision ID:
git-v1:f8a14f150aaa783a790aad9a2dcfe2f47a2fe09c
dumpcpp: Add Q_DECLARE_OPAQUE_POINTER() for referenced types.
Fix errors occurring for forward-declared types in the generated
header like:
qmetatype.h(1354) : error C2027: use of undefined type 'stdole::Font'
vcgantt.h(26) : see declaration of 'stdole::Font'
qmetatype.h(1539) : see reference to class template instantiation 'QtPrivate::IsPointerToTypeDerivedFromQObject<T>' being compiled
with
[
T=stdole::Font *
]
qmetatype.h(1546) : see reference to class template instantiation 'QMetaTypeId<T>' being compiled
with
[
T=stdole::Font *
]
\vcgantt.h(33401) : see reference to class template instantiation 'QMetaTypeId2<T>' being compiled
with
[
T=stdole::Font *
]
qmetatype.h(1354) : error C2338: Type argument of Q_DECLARE_METATYPE(T*) must be fully defined
Task-number: QTBUG-26587
Change-Id: I9e6c87551b462bc27f94d8e8bd36497075dac8d3
Reviewed-by: Andy Shaw <andy.shaw@digia.com>