summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/cpp_example
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-06-11 13:23:22 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-06-11 14:44:06 +0000
commit57f11fe309969665ddebafa3b770263d2d82fa93 (patch)
tree484fc5696c51acac5577d8d3b089826bdf7a940a /examples/qt3d/cpp_example
parentb21dfb2db3b48192e05dfdca9fdb85ed4bca02f2 (diff)
Move temporary window class to examples
So as to avoid public header without a QPrefix. Real integration points will be added later. Also removed it from the Qt3D namespace and fixed linkage. Task-number: QTBUG-46617 Change-Id: I1bea09f45f5fdba3d658b57b86b907ab57164479 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'examples/qt3d/cpp_example')
-rw-r--r--examples/qt3d/cpp_example/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/cpp_example/main.cpp b/examples/qt3d/cpp_example/main.cpp
index 014e8d958..2bc079e25 100644
--- a/examples/qt3d/cpp_example/main.cpp
+++ b/examples/qt3d/cpp_example/main.cpp
@@ -36,7 +36,7 @@
#include <QGuiApplication>
-#include <Qt3DCore/window.h>
+#include <window.h>
#include <Qt3DCore/qcamera.h>
#include <Qt3DCore/qentity.h>
#include <Qt3DCore/qcameralens.h>
@@ -71,7 +71,7 @@ int main(int ac, char **av)
{
QGuiApplication app(ac, av);
- Qt3D::Window view;
+ Window view;
Qt3D::QAspectEngine engine;
engine.registerAspect(new Qt3D::QRenderAspect());
Qt3D::QInputAspect *input = new Qt3D::QInputAspect;