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

Incorrect warning about binding loop in QtQuick.Controls.Control

    XMLWordPrintable

Details

    • Windows
    • 55ca63618 (dev), c01296e5f (6.5), 7ddba3c23 (6.4), 7a415a051 (dev), e73514d6b (6.4), 96baa991b (6.5)

    Description

      Please try the following code to get the warning.

      import QtQuick
      import QtQuick.Controls
      
      Window
      {
          Control
          {
              contentItem: Item
              {
                  property bool something: width == implicitWidth
      
                  implicitWidth: { return 1 }
              }
          }
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-110899
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            gweb Gunter Weber
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 3 open Gerrit changes