|author||Stephen Kelly <email@example.com>||2011-12-30 12:00:09 +0100|
|committer||Qt by Nokia <firstname.lastname@example.org>||2012-01-24 15:27:25 +0100|
Store the is-a QObject fact with the metatype declaration.
This is a source incompatible change for Q_DECLARE_METATYPE(T*), which now requires T to be fully defined. The consequences of this are: * Forward declared types can no longer be declared as a metatype. (though this is a very uncommon thing to do). There is a trivial workaround where necessary. Change-Id: Id74c40088b8c0b466fcd7c55abd616f69acc82c8 Reviewed-by: Lars Knoll <email@example.com>
Diffstat (limited to 'dist')
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 1c1255bc52..1b67f878be 100644
@@ -117,6 +117,11 @@ information about a particular change.
* QWidget *widget() has been removed and is replaced by QObject
*target() in order to avoid QWidget dependencies.
+ * It is no longer possible to use Q_DECLARE_METATYPE(Foo*) where Foo is only
+ forward declared - it must be fully defined.
* The signature of all handleTouchEvent() variants have changed,