Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0
-
25ae86d1d98dbf3900eefea152b072939be8ea71 (qt/qtdeclarative/dev) ec34177c088a18a6ad0f8eb4a69fcdd662e6afee (qt/qtdeclarative/6.1)
Description
Warning: Type of property "_shadows" not found at src/imports/controls/material/ElevationEffect.qml:218:77 readonly property var _shadow: _shadows[Math.max(0, Math.min(elevation, _shadows.length - 1))]
_shadows is declared as:
readonly property var _shadows: [ [{offset: 0, blur: 0, spread: 0}, {offset: 0, blur: 0, spread: 0}, {offset: 0, blur: 0, spread: 0}], // ...
I don't think it should complain about it because there is no other way to declare a JS array.
Attachments
Issue Links
- resulted from
-
QTBUG-83755 Fix qmllint warnings
- Open
For Gerrit Dashboard: QTBUG-84060 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
336818,2 | qmllint: Fix unknown properties on var | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
337339,2 | qmllint: Fix unknown properties on var | 6.1 | qt/qtdeclarative | Status: MERGED | +2 | 0 |