Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5.1, 6.7.3
-
None
Description
- qmllint / Tools->QML->Run Checks looks at the wrong import (=different import than runtime).
MVP attached.
In this MVP, qmllint looks at Controls.MenuBar while the runtime uses content.MenuBar. This results in a misleading [missing-property] error. - Unqualified access warning on BoundaryRule . If I don't have to qualify the "on" property, I shouldn't have to qualify the use of a property from the same object inside the rule.
BoundaryRule on myProp {
maximum: myOtherProp //[Unqualified-Access]
}
- No MVP, but JS variable show up as "undefined" [missing-property]
Test.js
const myVar = "Hello World"
Main.qml
import "qrc:/qt/qml/content/JS/Test.js" as Test Window { width: 480; height: 480 Text { text: Test.myVar //[missing-property] } }