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

C++ equivalent of "qt.qml.binding.removal" logs

    XMLWordPrintable

Details

    Description

      It is possible to accidentally break a binding, say by assigning a value directly to a property instead of updating its dependencies.

      QML allows us to detect such programming errors by enabling the "qt.qml.binding.removal" logging category (https://doc.qt.io/qt-6/qtqml-syntax-propertybinding.html#debugging-overwriting-of-bindings ). It would be helpful for QProperty and friends to produce similar diagnostic messages.

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes