-
Type:
Sub-task
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Fix Version/s: 5.0.0 Beta 1, 5.0.0
-
Component/s: Core: Object Model
-
Labels:None
-
Technical Risk:Normal
-
Commits:f95181c7bb340744a0ce172e8c5a8fcdc2543297
The meta-object data is currently storing type information for methods as strings (signature, parameters, return type). This makes introspection through QMetaMethod utterly inefficient; the signature is re-parsed again at runtime, type names are copied to QByteArrays, and the types have to be looked up by name (QMetaType::type()).
If the meta-type id of the return type and parameter types can be computed at meta-object definition time, they could be stored in the
meta-data for fast and easy retrieval. This is already (partially) supported for meta-properties (see QMetaProperty::userType()), but not for methods.
This change is being implemented at http://codereview.qt-project.org/#change,14763
Once this is done, we should also remove support for the old (Qt4) meta-data revisions (<= 6).
- is required for
-
QTBUG-25005 Critical issues for Qt5 Beta 1
-
- Closed
-