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

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

XMLWordPrintable

    • Windows
    • 0f5f1bfef (dev)

      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?

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

            ulherman Ulf Hermann
            mwatson Marcus Watson
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes