Remove widgets dependency from qtconcurrent/map autotest

Change-Id: I734ae73a530ab6eb27271586040ef910e6ad0e2c
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Kent Hansen 2012-06-05 14:32:52 +02:00 committed by Qt by Nokia
parent 58db6e8822
commit 1f8b8d56b2
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
#include <QList> #include <QList>
#include <QThread> #include <QThread>
#include <QDebug> #include <QDebug>
#include <QApplication> #include <QGuiApplication>
#include <qtconcurrentmap.h> #include <qtconcurrentmap.h>
#ifndef QT_NO_CONCURRENT #ifndef QT_NO_CONCURRENT
@ -55,7 +55,7 @@ QImage scale(const QImage &image)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication app(argc, argv); QGuiApplication app(argc, argv);
const int imageCount = 20; const int imageCount = 20;

View File

@ -1,6 +1,6 @@
TEMPLATE = app TEMPLATE = app
TARGET = mapdemo TARGET = mapdemo
QT += concurrent widgets QT += concurrent
CONFIG += console CONFIG += console
SOURCES += main.cpp SOURCES += main.cpp