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

Basic types not found with "2.0" Imports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.1, Qt Creator 5.0.0-beta1
    • Fix Version/s: None
    • Component/s: Quick / QML Support
    • Labels:

      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

            Assignee:
            fawzi Fawzi Mohamed
            Reporter:
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes