Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
None
-
Windows 7 & Mac OS X 10.9
-
9db3ec26136aa7a7ea58c85c92f5c6288e50e8f5 (qt/qtdeclarative/dev)
Description
Binding a QML object to a typed property via a Binding object causes a crash.
Given I have the following QML file MyComponent.qml:
import QtQuick 2.3
QtObject { property real p: 0 }
Then the following QML scene crashes:
import QtQuick 2.3 Item { id: root property MyComponent myProperty Binding { target: root property: "myProperty" value: myObject } MyComponent { id: myObject } }
It does not crash when I change the type of property myProperty from MyComponent to var.
Attachments
For Gerrit Dashboard: QTBUG-40487 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
267092,3 | Fix crash when binding to QML component | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |