diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-06-05 14:32:52 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-07 00:39:09 +0200 |
commit | 1f8b8d56b225c0d7bf593e214f89351e283394c5 (patch) | |
tree | 07e947d00b87188e65589b0a39dbd280b1aec592 /examples/qtconcurrent | |
parent | 58db6e882290c3bb4102e0c2e47e653af55ca1ca (diff) |
Remove widgets dependency from qtconcurrent/map autotest
Change-Id: I734ae73a530ab6eb27271586040ef910e6ad0e2c
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/qtconcurrent')
-rw-r--r-- | examples/qtconcurrent/map/main.cpp | 4 | ||||
-rw-r--r-- | examples/qtconcurrent/map/map.pro | 2 |
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 |