diff options
| -rw-r--r-- | test/test_apng.cpp | 4 |
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"); |
