diff --git a/examples/qtconcurrent/map/main.cpp b/examples/qtconcurrent/map/main.cpp index 199273b9a6..01595f0c2e 100644 --- a/examples/qtconcurrent/map/main.cpp +++ b/examples/qtconcurrent/map/main.cpp @@ -45,8 +45,6 @@ #include #include -#ifndef QT_NO_CONCURRENT - QImage scale(const QImage &image) { qDebug() << "Scaling image in thread" << QThread::currentThread(); @@ -70,23 +68,3 @@ int main(int argc, char *argv[]) return 0; } - -#else - -#include - -int main(int argc, char *argv[]) -{ - QApplication app(argc, argv); - QString text("Qt Concurrent is not yet supported on this platform"); - - QLabel *label = new QLabel(text); - label->setWordWrap(true); - - label->show(); - qDebug() << text; - - app.exec(); -} - -#endif