Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 11.0.2
-
012f984c2 (11.0), fd2d1ceea (11.0)
Description
Using the snippet from the Documentation
Text { id: myText width: 50 wrapMode: Text.WordWrap text: "a text string that is longer than 50 pixels" states: State { name: "widerText" PropertyChanges { myText.width: undefined } } }
leads to "Invalid property name myText (M16)". The error goes away if you use the old target based declaration.
As the documentation encourages to use the ID form, that should work without any warnings.