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

Don't hard-code exceptions for ListElement and Connections in qmljsscopebuilder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.6.2
    • Quick / QML Support
    • None

    Description

      QtCreator contains hard-coded exceptions for QML types that have run-time defined properties, such as Connections and ListElement. This prevents a warning about invalid property names.

      This is not a proper solution. Not only is it wrong (Connections for instance is part of QtQml and not QtQuick), but also does this prevent users from creating their own custom types with such a behavior.

      I propose to add a flag "hasDynamicProperties" to the qmltypes file grammar and respect this in QtCreator. See also this forum thread.

      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
            rweickelt Richard Weickelt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes