Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.3.0
-
None
-
61ce37de40711ef2d4a6b4989d8183e1711fc47d
Description
Say puppy is a C++ object which has a property called name. If puppy is mispelled, QML will output: ReferenceError: puppu is not defined.
Binding { target:puppu; property:"name"; value:input.text }
But if name is mispelled, QML never outputs any warning or error.
Binding { target:puppy; property:"namw"; value:input.text }
There is no warning too, if WRITE method is not defined in the Q_PROPERTY declaration of name.
My suggestion is to output warnings to help debugging.
Attachments
For Gerrit Dashboard: QTBUG-39243 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
126409,3 | Improve warning for QtQml.Binding | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |