diff --git a/test/test_apng.cpp b/test/test_apng.cpp index cbeb68a..c15bebb 100644 --- a/test/test_apng.cpp +++ b/test/test_apng.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include 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");