I also tried to remove all libqt5* debian packages and to install Qt5 from online installer.
It’s the same :-(
It takes 1-2 seconds to change the color of the rectangle in this simple page:
import QtQuick 2.3
Rectangle {
id: root
width: 1024
height: 768
Component.onCompleted: {
root.state = "normal"
}
states: [
State {
name: "normal"
PropertyChanges { target: btn; color: "yellow" }
},
State {
name: "rollover"
PropertyChanges { target: btn; color: "red" }
}
]
Rectangle {
id: btn
width: 600
height: 300
MouseArea {
id: mouseArea
anchors.fill: parent
hoverEnabled: true
onEntered: root.state = "rollover"
onExited: root.state = "normal"
}
}
}
↧