Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.0.1
-
None
-
qtquick2, osx 10.8.3, qt 5.0.1, qmlscene
Description
Imagine these two files, a State as a Component, and something using and switching the state:
CustomState.qml
import QtQuick 2.0
State {
}
main.qml
import QtQuick 2.0 Rectangle { width: 360 height: 360 Text { id: text anchors.centerIn: parent text: "Hello World" states: CustomState { id: customState when: mouseArea.pressed PropertyChanges { target: text rotation: 180 } } } MouseArea { id: mouseArea anchors.fill: parent } }
When clicking on the mouse area and the state is changed, the app segfaults.
See also statecrash.zip