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

qmllint doesn't recognize the type of the root component of the current file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.11
    • 6.11
    • QML: Tooling
    • None

      // Main.qml
      import QtQuick
      import Other
      
      QtObject {
          id: root
          property Other other: Other {
              main: root
          }
      } 
      Warning: .../Main.qml:10:15: Cannot assign binding of type QtObject to Main [incompatible-type]
      
              main: root

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

            qtqmlteam Qt Qml Team User
            olivier.decanniere Olivier De Cannière
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change