Try to fix CI

This commit is contained in:
Skye Deving 2021-01-07 03:22:23 -06:00
parent a8fdea09b0
commit 608d6dff61

View File

@ -3,7 +3,7 @@
#include <QPluginLoader> #include <QPluginLoader>
#include <QImageReader> #include <QImageReader>
#include <QCoreApplication> #include <QCoreApplication>
#include <QApplication> #include <QGuiApplication>
#include <QPixmap> #include <QPixmap>
TEST_CASE("Support APNG Plugin", "[apng]") { TEST_CASE("Support APNG Plugin", "[apng]") {
@ -24,7 +24,7 @@ TEST_CASE("Detect png animation", "[apng]") {
int argc = 1; int argc = 1;
char bin[] = "test"; char bin[] = "test";
char *argv[] = { bin }; char *argv[] = { bin };
QApplication app(argc, argv); QGuiApplication app(argc, argv);
// Detect apng supports animation // Detect apng supports animation
QImageReader a("snackoo.png", "apng"); QImageReader a("snackoo.png", "apng");