- #include <QApplication>
- #include <QPixmap>
- #include <QSplashScreen>
- #include <QLabel>
- #include <QMovie>
- #include "MainView.h"
- int main(int argc, char *argv[])
- {
- /*显示jpg的代码*/
- // QApplication a(argc, argv);
- // QPixmap pixmap("1.gif");
- // QSplashScreen splash(pixmap);
QT加载jpg\Gif图片
最新推荐文章于 2024-07-05 18:00:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)