From 1f8b8d56b225c0d7bf593e214f89351e283394c5 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Tue, 5 Jun 2012 14:32:52 +0200 Subject: Remove widgets dependency from qtconcurrent/map autotest Change-Id: I734ae73a530ab6eb27271586040ef910e6ad0e2c Reviewed-by: Lars Knoll --- examples/qtconcurrent/map/main.cpp | 4 ++-- examples/qtconcurrent/map/map.pro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/qtconcurrent/map') 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 #include #include -#include +#include #include #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 -- cgit v1.2.3