Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2
-
5cfce9f41cf5d07d2d61da5157db918ef18de561 (qt/qtdeclarative/dev)
Description
For such code:
import QtQuick 2.15 import QtQuick.Controls 2.15 Flickable { ScrollBar.vertical: ScrollBar { active: true onActiveChanged: { if (!active) active = true; } } }
qmllint (dev, 077b8f8df437d1cfcf67b153dd4535c36786bdee) reports warnings:
Warning: Test20.qml:5:15: Property "vertical" is invalid or does not exist ScrollBar.vertical: ScrollBar { ^^^^^^^^ Warning: Test20.qml:5:5: unknown attached property scope ScrollBar. ScrollBar.vertical: ScrollBar { ^^^^^^^^^
but "qml" tools work just fine.
Attachments
For Gerrit Dashboard: QTBUG-93231 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
346272,7 | qmllint: Fix multiple attached property bugs | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |