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.
Attachments
For Gerrit Dashboard: QTCREATORBUG-28468 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
483912,6 | Restrict M16 warnings | 11.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
499976,3 | Fix M16 warning restrictions | 11.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |