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

Allow attached types to execute code at component completion

XMLWordPrintable

    • deeb14326 (dev), bf62cf89b (6.9)

      In https://codereview.qt-project.org/c/qt/qtdeclarative/+/554020/25/src/quicktemplates/qquickcontextmenu.cpp#121 I was trying to defer a property of an attached type. It doesn't work because componentComplete is not called for types created from C++. Fabian said:

      Tor Arne actually also had a use case for hooking into the QQmlFinalizerHook logic from an attached property; but we avoided that so far. I'd like to avoid adding that API, but if you really have that use case, we can add it

        For Gerrit Dashboard: QTBUG-131917
        # Subject Branch Project Status CR V

            qtqmlteam Qt Qml Team User
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes