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

QQmlSA does not expose information about children of an Element

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • 6.11
    • 6.10
    • QML: Tooling
    • None

    Description

       

      Here is an example of something you may want to warn about but currently can't. A State should not have arbitrary child Items. Only a specific set of Items is allowed. It is currently impossible to detect that we have a State  with illegal children using public API.

      import QtQuick
      
      Item {
          State {
              Item {
              }
          }
      }

       

       

      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
            olivier.decanniere Olivier De Cannière
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes