Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6
-
None
Description
The following code works, but will print a warning with Qt 5.6:
import QtQuick 2.3 import QtQuick.Window 2.2 Window { width: 800 * root.bar.x height: 400 visible: true Binding { target: root property: "bar.x" value: 0.5 } Item { id: root property rect bar: Qt.rect(0, 0, 0, 0) } }
qrc:/main.qml:9:5: QML Binding: Property 'bar.x' does not exist on Item.
Attachments
For Gerrit Dashboard: QTBUG-48918 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
138541,2 | GroupBoxStyle: work around Binding regression | 5.6 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
141737,2 | Fix bogus warning when using Binding on value types | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |