Update note about metatype fully defined requirement.

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>
bb10
Stephen Kelly 2012-02-01 12:58:31 +01:00 committed by Qt by Nokia
parent 1fe0a4cc68
commit 2ba0700ebf
1 changed files with 3 additions and 2 deletions

5
dist/changes-5.0.0 vendored
View File

@ -124,8 +124,9 @@ information about a particular change.
- 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