Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 4.13.3
-
None
Description
new project; add one line 'objectName: "win"' within the window document.
The syntax checker flags it as an error.
The application runs correctly and in debug mode the objectName value of "win"
appears in the properties element where I expect it
How to turn off this identification of possible errors since they are not errors.
see snapshot.
I did a complete fresh install. Then create project Abc (other/qt quick prototype)
Received the same beginning qml file. Added one line: objectName: "abc".
It was immediately flagged as "invalid property name (M30)".
Not Good
Did a "reset code model" under tools/qml/js. This resolved the problem! BUT
I looked at another qml file and it had errors flagged for ScrollBar as an invalid property
on a Flickable object. I did a reset code model, but that did not eliminate the error markings.
The code ran correctly, Just the code checker gave a false report.
The error message shows up in the application output as well.
Not Good Again
I found out by disabling the plugin Qml/JsEditor (and Designer) that the error flags
were eliminated. There must be an error in QmlJsEditor (only a guess)