使用QML Image可以显示图片,那么动态的GIF如何可以显示成动的?
使用AnimatedImage:
AnimatedImage {
width:45
height:45
source: "qrc:/img/loading.200x200.gif"
anchors.centerIn: parent
}
使用QML Image可以显示图片,那么动态的GIF如何可以显示成动的?
使用AnimatedImage:
AnimatedImage {
width:45
height:45
source: "qrc:/img/loading.200x200.gif"
anchors.centerIn: parent
}