| 1 | // Copyright (C) 2019 Klaralvdalens Datakonsult AB (KDAB). |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include <Qt3DQuickExtras/qt3dquickwindow.h> |
| 5 | #include <QGuiApplication> |
| 6 | |
| 7 | int main(int argc, char* argv[]) |
| 8 | { |
| 9 | QGuiApplication app(argc, argv); |
| 10 | Qt3DExtras::Quick::Qt3DQuickWindow view; |
| 11 | |
| 12 | view.setSource(QUrl("qrc:/main.qml")); |
| 13 | view.show(); |
| 14 | |
| 15 | return app.exec(); |
| 16 | } |