Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25976

Basic types not found with "2.0" Imports

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • Qt Creator 4.15.1, Qt Creator 5.0.0-beta1
    • Quick / QML Support

    Description

      The following code snippet causes an annotation "Unknown component. (M300)"

      import QtQuick 2.0
      
      ListModel {
          ListElement {
              content: "foo"
              text: "bar"
          }
      }
      

      import QtQuick 2.1 does not cause that.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes