Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43770

Investigate whether registering the Qt namespace is avoidable

    XMLWordPrintable

Details

    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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            erikv Erik Verbruggen
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes