Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2
-
None
-
8e3547fda (dev), c67163939 (6.8)
Description
When using "this" in qml elements, linter deduces the type to be "QObject" and complains about missing member. Is this the intended behaviour and using "this" should be avoided, or will the type deduction later improve in qmllint?
TextField { Layout.fillWidth: true text: root.controller.mOutputAlias onEditingFinished: root.controller.mOutputAlias = this.text }
warning:
Member "text" not found on type "QObject" [missing-property] onEditingFinished: root.controller.mOutputAlias = this.text ^^^^
Attachments
Issue Links
- is duplicated by
-
QTBUG-129900 QML language server doesn't resolve type of "this"
-
- Closed
-