Update note about metatype fully defined requirement.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 1 Feb 2012 11:58:31 +0000 (12:58 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 03:08:17 +0000 (04:08 +0100)
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>
dist/changes-5.0.0

index c62d8b1..d2e8dde 100644 (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