Details

    • Commits:
      bdb2b66f3d7d027e3022aabd63fe73d305ed058f (qt/qtdeclarative/dev)

      Description

      You can register extended types via the QML_EXTENDED macro. The extension is valid only on the topmost non-composite type in the inheritance chain. So, for example if you have a composite type A that inherits a non-composite B that inherits a non-composite C and both B and C have extensions, then only the extension on B will be visible to clients of A.

      The qmltypes format mixes the extension into the specification of the actual type. Therefore, we cannot retrieve this distinction from the qmltypes. We need to change the format so that extensions are listed separately.

      Actually, right now, qmltyperegistrar's support for extended types is rather incomplete. It does not generate descriptions for the enums in the Qt object, for example. That's bad.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              fawzi Fawzi Mohamed
              Reporter:
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes