There is now public API to re-allow forward declared types
as metatypes.
Change-Id: I6c956ea2dc96f66eccfcfa81fcbb833b58b58d61
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
- QMetaType
- * It is no longer possible to use Q_DECLARE_METATYPE(Foo*) where Foo is only
- forward declared - it must be fully defined.
+ * Q_DECLARE_METATYPE(Foo*) now requires that Foo is fully defined. In
+ cases where a forward declared type should be used as a metatype,
+ Q_DECLARE_OPAQUE_POINTER(Foo*) can be used to allow that.
- QItemEditorFactory