summaryrefslogtreecommitdiffstats
path: root/examples/qtconcurrent/map
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-06-05 14:32:52 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-07 00:39:09 +0200
commit1f8b8d56b225c0d7bf593e214f89351e283394c5 (patch)
tree07e947d00b87188e65589b0a39dbd280b1aec592 /examples/qtconcurrent/map
parent58db6e882290c3bb4102e0c2e47e653af55ca1ca (diff)
Remove widgets dependency from qtconcurrent/map autotest
Change-Id: I734ae73a530ab6eb27271586040ef910e6ad0e2c Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/qtconcurrent/map')
-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