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

Types imported into namespace cannot be used as property type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.6
    • 6.4.2
    • QML: Tooling
    • None
    • Linux/X11

      Hi.

      Types imported into namespace using import <ModuleIdentifier> [<Version.Number>] [as <Qualifier>] format cannot be used as types in property decleration (property <type> <name>: ...).

      QML does exectue, but autocomplete shows properties from namespace instead of type. Also, qmllint does not check these types.

      If importing into global namespace, type is properly identified. Linter still does not report errors.

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

            qtqmlteam Qt Qml Team User
            gogo Gregor Kališnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes