2022-06-08 12:47:24 +00:00
|
|
|
// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
|
2024-02-23 14:41:04 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2017-01-15 17:53:15 +00:00
|
|
|
|
|
|
|
#include <Qt3DQuickExtras/qt3dquickwindow.h>
|
|
|
|
#include <QGuiApplication>
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
QGuiApplication app(argc, argv);
|
|
|
|
Qt3DExtras::Quick::Qt3DQuickWindow view;
|
|
|
|
|
|
|
|
view.setSource(QUrl("qrc:/main.qml"));
|
|
|
|
view.show();
|
|
|
|
|
|
|
|
return app.exec();
|
|
|
|
}
|