summaryrefslogtreecommitdiffstats
path: root/tests/manual/phong-cubes/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/phong-cubes/main.cpp')
-rw-r--r--tests/manual/phong-cubes/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/manual/phong-cubes/main.cpp b/tests/manual/phong-cubes/main.cpp
new file mode 100644
index 000000000..cd32b4c0b
--- /dev/null
+++ b/tests/manual/phong-cubes/main.cpp
@@ -0,0 +1,16 @@
+// 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();
+}