sudo apt-get install ubuntu-restricted-extras 这个把,视频解码,flash,java都包含了
// An image that flashes when blink == true
Image {
id: icon
source: ""
anchors.horizontalCenter: parent.horizontalCenter
SequentialAnimation on opacity {
id: iconAnimation
running: false
loops: Animation.Infinite
NumberAnimation { from: 0; to: 1; duration: 300 }
PauseAnimation { duration: 200 }
NumberAnimation { from: 1; to: 0; duration: 300 }
}
}