QT实现GIF动图显示(小白版,可直接copy使用)
需要你自己提前设置好动图的位置,本例中存放于"/Users/PLA/PLA/PLA.gif widget.h
#ifndef WIDGET_H
#define WIDGET_H#include <QWidget>
#include <QMovie>
#include <QLabel>class Widget : public QWidget {Q_OBJECTpublic:explicit Wid…
建站知识
2024/7/6 0:00:03