summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-02-01 12:58:31 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-09 04:08:17 +0100
commit2ba0700ebffabb6d89595724ef7efe5baf230928 (patch)
tree4d384d41c25e3a14c188582c8ab07dcb877f97f5
parent1fe0a4cc68e5e199961cf3a5d920b6bf8004940c (diff)
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>
-rw-r--r--dist/changes-5.0.05
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index c62d8b1163..d2e8dde9de 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -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