summaryrefslogtreecommitdiffstats
path: root/examples/qtconcurrent
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtconcurrent')
-rw-r--r--examples/qtconcurrent/map/main.cpp4
-rw-r--r--examples/qtconcurrent/map/map.pro2
2 files changed, 3 insertions, 3 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;
diff --git a/examples/qtconcurrent/map/map.pro b/examples/qtconcurrent/map/map.pro
index 994c266e9b..f5857f789e 100644
--- a/examples/qtconcurrent/map/map.pro
+++ b/examples/qtconcurrent/map/map.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = mapdemo
-QT += concurrent widgets
+QT += concurrent
CONFIG += console
SOURCES += main.cpp