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

qmllint fails to resolve model/type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • 6.8
    • QML: Tooling
    • None

    Description

       I am trying to create a working example from the snippets from

      https://doc.qt.io/qt-6/qml-qtquick-tableview.html

      in Qt Creator 14 I get the warning that MyTableModel was not found. (see screenshot)  However, the issue is also reproducible without Creator, just by qmllinter.

       

       

      Attachments

        1. QuickExample.zip
          8.05 MB
        2. modelnotfound.png
          modelnotfound.png
          13 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            mate Máté Barany
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes