Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
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
- relates to
-
QTBUG-110422 QProperty: Produce warning when a binding/evaluation loop is detected
- Reported