forked from qt-creator/qt-creator
It's an initial copy of the qtbase/examples/qtconcurrent/imagescaling. The goal is to implement it using TaskTree and compare both implementations. Change-Id: I92953a70a3330ac679823060e75e5f39971ae444 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
19 lines
494 B
C++
19 lines
494 B
C++
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#include "imagescaling.h"
|
|
#include <QApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication app(argc,argv);
|
|
app.setOrganizationName("QtProject");
|
|
app.setApplicationName(QObject::tr("Image Downloading and Scaling"));
|
|
|
|
Images imageView;
|
|
imageView.setWindowTitle(QObject::tr("Image Downloading and Scaling"));
|
|
imageView.show();
|
|
|
|
return app.exec();
|
|
}
|