diff options
Diffstat (limited to 'examples/qtconcurrent/map/main.cpp')
-rw-r--r-- | examples/qtconcurrent/map/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index eec8a09ee7..210f62aa97 100644 --- a/examples/qtconcurrent/map/main.cpp +++ b/examples/qtconcurrent/map/main.cpp @@ -42,7 +42,7 @@ #include <QList> #include <QThread> #include <QDebug> -#include <QApplication> +#include <QGuiApplication> #include <qtconcurrentmap.h> #ifndef QT_NO_CONCURRENT @@ -55,7 +55,7 @@ QImage scale(const QImage &image) int main(int argc, char *argv[]) { - QApplication app(argc, argv); + QGuiApplication app(argc, argv); const int imageCount = 20; |