Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
Description
Currently, large parts of the engine operate on metatype-ids. They should be changed to rather operate on QMetaTypes directly. This allows direct access to useful information like the QMetaObject, the metatype flags and the name.
Legend: [✔] merged, [✘] in progress [ ] open
[✔] Store QMetaType in QQmlPropertyData
[✘] Port metatype id API to QMetaType
[✘] Use name stored in metatype to avoid duplicating strings in dyamic meta-object.
Attachments
Issue Links
- resulted in
-
QTBUG-92077 Teach QMetaType how to get metatype for T from metatype for T*
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-88766 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324033,5 | Use QMetaType instead of metatype-id, take 2 | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
326603,4 | Clean up (QQmlEnginePrivate|QQmlMetaType)::toQObject | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
326630,3 | QQmlMetaType: Get rid of objects | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
326635,2 | QQmlMetaType: Remove lists set | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
331405,2 | QQmlPropertyCache: use more efficient addProperty overload | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
333284,3 | QQmlInterceptorMetaObject::intercept: Avoid metatype<->id ping-pong | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
337788,4 | QQmlMetaType: Remove qmlLists member | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
340570,4 | Cleanup QQmlListAccessor | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
340581,2 | QV4::Engine::toVariant: Use metatype instead of metatype id | dev | qt/qtdeclarative | Status: MERGED | -1 | 0 |