qt5base-lts/examples/qtconcurrent/imagescaling/main.cpp
Dennis Oberst b5e9d41895 Example: update imagescaling example
Updated the example to align with the Qt6 Example-Guideline.

https://wiki.qt.io/Qt6/Example-Guideline

Task-number: QTBUG-111165
Pick-to: 6.5 6.5.0
Change-Id: Ibd9e7ce0d4dee90f6a693b81516d2f5b86345b1d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-03-09 17:26:59 +00:00

18 lines
493 B
C++

// Copyright (C) 2016 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();
}