b5e9d41895
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>
18 lines
493 B
C++
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();
|
|
}
|