|author||Jędrzej Nowacki <firstname.lastname@example.org>||2012-02-03 12:54:25 +0100|
|committer||Qt by Nokia <email@example.com>||2012-02-07 08:53:18 +0100|
The function hasn't been working properly. It was not well tested, for example it is undefined how QVariant should behave if it contains an instance of an unregistered type. Concept of unregistering types was inspired by plug-in system, but in most supported platforms we do not unload plug-ins. Idea of type unregistering may block optimizations in meta object system, because it would be not possible to cache a type id. QMetaType::type() could return different ids for the same name. Currently QMetaType::unregisterType() is not used in Qt. Change-Id: I878b6e8d91de99f9bcefeab73af2e2ba0bd0cba0 Reviewed-by: Prasanth Ullattil <firstname.lastname@example.org> Reviewed-by: Bradley T. Hughes <email@example.com> Reviewed-by: João Abecasis <firstname.lastname@example.org> Reviewed-by: Lars Knoll <email@example.com> Reviewed-by: Thiago Macieira <firstname.lastname@example.org> Reviewed-by: Kent Hansen <email@example.com>
Diffstat (limited to 'dist')
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 280b5d93f9..617b2d3d95 100644
@@ -45,7 +45,9 @@ information about a particular change.
in Qt4, so these methods return a bool now. If your code used the undocumented
QBool, simply replace it with bool.
-- QMetaType::construct() has been renamed to QMetaType::create().
+ * QMetaType::construct() has been renamed to QMetaType::create().
+ * QMetaType::unregisterType() has been removed.
* The QTRY_VERIFY and QTRY_COMPARE macros have been moved into QTestLib.