Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9
-
None
-
71967f318 (dev)
Description
Consider the following QML code
import QtQuick Item { Item { component Foo: Item { required property var bla } } }
qmllint shows a warning "Warning: shortcut.qml:4:5: Component is missing required property bla from Item [required]"
There is no runtime problem though, since I'm not actually creating a Foo
Attachments
Issue Links
- relates to
-
QTBUG-136058 [Reg] qmllint: mix up between required properties
-
- Closed
-
For Gerrit Dashboard: QTBUG-136008 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
642029,1 | qmllint: don't warn about required properties in inline components | 6.9 | qt/qtdeclarative | Status: NEW | 0 | 0 |
640247,7 | qmllint: don't warn about required properties in inline components | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |