From 2ba0700ebffabb6d89595724ef7efe5baf230928 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 1 Feb 2012 12:58:31 +0100 Subject: Update note about metatype fully defined requirement. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is now public API to re-allow forward declared types as metatypes. Change-Id: I6c956ea2dc96f66eccfcfa81fcbb833b58b58d61 Reviewed-by: João Abecasis Reviewed-by: Jonas Gastal --- dist/changes-5.0.0 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dist') 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 -- cgit v1.2.3