path: root/dist
diff options
authorStephen Kelly <>2012-08-15 16:46:36 +0200
committerQt by Nokia <>2012-08-18 10:55:47 +0200
commitf6c58d242aa6c75d735ce9484c1f1acac3444ba6 (patch)
tree5d42c9a8a71132d9d5a263e6fc37540374062d25 /dist
parentd3a8b7db503ec8dc31496bff4c3c6334d95583c4 (diff)
Add a changes file entry for QMetaType QObject related change.
Change-Id: I2f902ffe6b18034047114626dd4cbe9d2f96c2fc Reviewed-by: Olivier Goffart <>
Diffstat (limited to 'dist')
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 9a9c0ec4e2..791e538922 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -62,6 +62,10 @@ information about a particular change.
- QMetaType:
* QMetaType::construct() has been renamed to QMetaType::create().
* QMetaType::unregisterType() has been removed.
+ * QMetaType now records if the type argument inherits QObject. This
+ can be used in scripting APIs, so that custom QObject subclasses
+ are treated as QObject pointers. In QtScript for example, this can
+ mean that QScriptValue.isQObject can be true where it was false before.
* QMetaType::QWidgetStar has been removed. Use qMetaTypeId<QWidget*>()
or QVariant::canConvert<QWidget*>() as appropriate.