Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
None
-
144a3535db9f95e60972d3c3b6eaceb65a604577
Description
Translucent WebP animation frames are all stacked on top of each other, and the background is uninitialized.
Qt Widgets:
#include <QtWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel label; label.resize(300, 300); label.setAlignment(Qt::AlignCenter); label.setMovie(new QMovie("path/to/busyindicator.webp")); label.movie()->start(); label.show(); return app.exec(); }
Qt Quick:
import QtQuick 2.9 import QtQuick.Window 2.2 Window { width: 300 height: 300 visible: true AnimatedImage { anchors.centerIn: parent source: "file:///path/to/busyindicator.webp" } }