Debian Codegraph @

tests/manual/animation-keyframe-blendtree/main.cpp

raw symbols SCIP
1 // Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4 #include <QGuiApplication>
5 #include <Qt3DAnimation/QAnimationAspect>
6 #include <Qt3DQuickExtras/Qt3DQuickWindow>
7 #include <Qt3DQuick/QQmlAspectEngine>
8 #include <QQmlEngine>
9 #include <QQmlContext>
10
11 int main(int argc, char **argv)
12 {
13 QGuiApplication app(argc, argv);
14 Qt3DExtras::Quick::Qt3DQuickWindow view;
15 view.registerAspect(new Qt3DAnimation::QAnimationAspect());
16 view.setSource(QUrl("qrc:/main.qml"));
17 view.show();
18 return app.exec();
19 }