Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
Description
QQmlBuiltinFunctions does a loop to register all enums in the Qt namespace - this is for the global Qt object.
It would be nice if this registration could be avoided.
10:41 < tronical> I wonder why we do that - wouldn't it be better to have a QV4::Object sub-class and catch that in get() ?
10:43 < tronical> startup would be faster because we don't do the work, at run-time getting would be slower because the property lookup in QMetaObject is
O. but we could smack in a QQmlPropertyCache for the Qt namespaces (this is where gadgets help