summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/changes-5.0.04
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.