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

QML_FOREIGN of objects in an inheritance tree does not work with qmllint

    XMLWordPrintable

Details

    • Windows
    • 0f5f1bfef (dev)

    Description

      Attached is a minimal example of a simple inheritance tree.

      qmllint does not appear to recognise the base properties despite being a QML_FOREIGN and QML_NAMED_ELEMENT.

      I have also tried registering the BaseType as either QML_ANONYMOUS or QML_UNCREATABLE, neither appear to make an impact.

      The documentation for QML_FOREIGN isn't really clear: Does QML_FOREIGN require the entire inheritance tree to be registered, or is only registering the "final" types good enough?

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              mwatson Marcus Watson
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes