Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
Description
We should support all these runtime warnings that can also be determined by static analysis.
Items to cover:
Warn about using anchors, x and y in Grid and FlowWarn about attached properties being used in the wrong elements (cannot warn about these being used in bindings right now)Warn about combining left/right/behind properties with SwipeDelegateWarn about some invalid anchor configurations (Needs to be able to inspect bindings)Warn about Tumbler contentItem not being PathView or ListViewWarn about SpinBox textFromValue / valueFromText not being a functionWarn about TableView columnWidthProvider / rowHeightProvider not being a function
Attachments
Issue Links
- depends on
-
QTBUG-102417 Implement improved attached and grouped property support
-
- Closed
-
-
QTBUG-102860 Implement binding passes
-
- Closed
-
- is required for
-
QTBUG-102277 Create further static analysis passes to narrow down API
-
- Closed
-
For Gerrit Dashboard: QTBUG-102859 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
407347,13 | QmlLintQuickPlugin: Warn about disallowed positioning properties | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
407605,3 | QmlLintQuickPlugin: Warn about attached types used in wrong elements | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
408500,7 | qmllint: Warn about invalid anchor combinations across components | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
408971,5 | QmlLintQuickPlugin: Warn about various SwipeDelegate issues | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
409867,16 | Reimplement PropertyPass to evaluate bindings | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
412265,13 | QmlLintQuickPlugin: Warn about unexpected property binding types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |