Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.8.0 FF
-
None
Description
qmllint doesn't complain about this code
import QtQuick
Item {
Item {
horizontalCenter: parent.horizontalCenter
}
}
On the other hand qml does complain when running it
$ qml main.qml
QQmlApplicationEngine failed to load component
file:///Users/user/test/main.qml:10:27: Invalid property assignment: "horizontalCenter" is a read-only property
Is it possible that qmllint also complains about it?
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-126120 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
568042,5 | qmllint: Warn about bindings to CONSTANT properties | dev | qt/qtdeclarative | Status: NEW | +2 | 0 |