mirror of https://github.com/qt/qt3d.git
17 lines
406 B
C++
17 lines
406 B
C++
// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
#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();
|
|
}
|