summaryrefslogtreecommitdiffstats
path: root/tests/manual/subtree-enabler-qml/main.cpp
blob: 1f9685257e7255a704d93cca3b593cd774d03b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <Qt3DQuickExtras/qt3dquickwindow.h>
#include <QGuiApplication>

int main(int ac, char **av)
{
    QGuiApplication app(ac, av);
    Qt3DExtras::Quick::Qt3DQuickWindow view;
    view.setSource(QUrl("qrc:/main.qml"));
    view.show();

    return app.exec();
}