aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/timelineTestApp/main.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2017-11-27 10:17:41 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2017-11-29 13:48:22 +0000
commitfe7e09d8ccf6daaf50a8152329960a6bd0157bc8 (patch)
tree05a6a8671c9d1c97f4c9e81b9405a9d6a58615dc /tests/manual/timelineTestApp/main.cpp
parent575402ef399d949ce14ae0235ce126edebfbe29f (diff)
Initial commit
This implements the timeline module for keyframe based animations in Qt Quick. Change-Id: Icf4a4191da7580f670a02ef52e4b0bee4befed18 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/manual/timelineTestApp/main.cpp')
-rw-r--r--tests/manual/timelineTestApp/main.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/manual/timelineTestApp/main.cpp b/tests/manual/timelineTestApp/main.cpp
new file mode 100644
index 0000000..405b8a9
--- /dev/null
+++ b/tests/manual/timelineTestApp/main.cpp
@@ -0,0 +1,32 @@
+/****************************************************************************
+**
+** Copyright (C) 2017 The Qt Company Ltd
+** All rights reserved.
+** For any questions to The Qt Company, please use contact form at http://www.qt.io/contact-us
+**
+** This file is part of the Qt Enterprise Qt Quick Timeline Add-on.
+**
+** Licensees holding valid Qt Enterprise licenses may use this file in
+** accordance with the Qt Enterprise License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company.
+**
+** If you have questions regarding the use of this file, please use
+** contact form at http://www.qt.io/contact-us
+**
+****************************************************************************/
+
+#include <QGuiApplication>
+#include <QQmlApplicationEngine>
+
+int main(int argc, char *argv[])
+{
+ QGuiApplication app(argc, argv);
+
+ QQmlApplicationEngine engine;
+ engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
+ if (engine.rootObjects().isEmpty())
+ return -1;
+
+ return app.exec();
+}