aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-07 03:22:23 -0600
committerSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-28 11:05:42 -0600
commit608d6dff61ba55fb29e21fde5e1d2b6b63479901 (patch)
treec483080923dd447d10d2644d8000049a8bde1aa4
parenta8fdea09b046a7c9c4fbb00d878fbb693abecdde (diff)
Try to fix CI
-rw-r--r--test/test_apng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_apng.cpp b/test/test_apng.cpp
index cbeb68a7..c15bebb0 100644
--- a/test/test_apng.cpp
+++ b/test/test_apng.cpp
@@ -3,7 +3,7 @@
#include <QPluginLoader>
#include <QImageReader>
#include <QCoreApplication>
-#include <QApplication>
+#include <QGuiApplication>
#include <QPixmap>
TEST_CASE("Support APNG Plugin", "[apng]") {
@@ -24,7 +24,7 @@ TEST_CASE("Detect png animation", "[apng]") {
int argc = 1;
char bin[] = "test";
char *argv[] = { bin };
- QApplication app(argc, argv);
+ QGuiApplication app(argc, argv);
// Detect apng supports animation
QImageReader a("snackoo.png", "apng");