2023-05-30 09:52:37 +00:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2022-05-13 13:12:05 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2013-02-27 07:44:47 +00:00
|
|
|
|
|
|
|
#include <QGuiApplication>
|
2023-05-30 09:52:37 +00:00
|
|
|
#include <QQuickView>
|
|
|
|
#include "rhitextureitem.h"
|
2013-02-27 07:44:47 +00:00
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
|
|
|
|
QQuickView view;
|
|
|
|
view.setResizeMode(QQuickView::SizeRootObjectToView);
|
2023-05-30 09:52:37 +00:00
|
|
|
view.setSource(QUrl("qrc:///scenegraph/rhitextureitem/main.qml"));
|
2013-02-27 07:44:47 +00:00
|
|
|
view.show();
|
|
|
|
|
2021-06-30 09:29:53 +00:00
|
|
|
return QGuiApplication::exec();
|
2013-02-27 07:44:47 +00:00
|
|
|
}
|