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

Editor doesn't recognize/auto-complete types from QtQML.Models

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.3.1
    • Qt Creator 4.3.0
    • None
    • MacOS 10.11.6 (El Capitan).
      Qt Creator 4.3.1
      Based on Qt 5.9.0 (Clang 7.0 (Apple), 64 bit)
      Built on May 28 2017 14:24:00
      From revision bfd818b2b1

    Description

      Creator doesn't recognize DelegateModel or DelegateModelGroup, or other types from QtQML.Models, so there's no auto-completion and it yields an Unknown Component issue, though project builds and runs just fine.

      The only recognized type from QtQML.Models is ItemSelectionModel, probably because that's the only type found in the relevant plugins.qmltypes file. 

      This appears to be a recurrence of https://bugreports.qt.io/browse/QTCREATORBUG-13329 and/or https://bugreports.qt.io/browse/QTCREATORBUG-13780, i.e., this problem appears to have been fixed before, but it's back again.

      Attachments

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

        Activity

          People

            mabenell Marco Benelli
            waltpurvis Walter Purvis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes