summaryrefslogtreecommitdiffstats
path: root/examples/torus-qml
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@kdab.com>2015-01-20 15:37:54 +0100
committerKevin Ottens <kevin.ottens@kdab.com>2015-01-23 07:51:33 +0100
commita452e142ee25d60e4c7ae646da8596c95cbaf564 (patch)
tree9b6f9aef49a159ae8d8b5d645a7bf882116f2b72 /examples/torus-qml
parentae03c0af3b07712f6a5a1c75fe729215ea820d54 (diff)
Remove the now useless QuickWindow
Change-Id: I714cf941230fdd83f0de37125bf44b4888662b25 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/torus-qml')
-rw-r--r--examples/torus-qml/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/torus-qml/main.cpp b/examples/torus-qml/main.cpp
index baa6daefb..7177e0783 100644
--- a/examples/torus-qml/main.cpp
+++ b/examples/torus-qml/main.cpp
@@ -39,9 +39,10 @@
**
****************************************************************************/
-#include <Qt3DQuick/quickwindow.h>
+#include <Qt3DCore/window.h>
#include <Qt3DRenderer/qrenderaspect.h>
#include <Qt3DInput/QInputAspect>
+#include <Qt3DQuick/QQmlAspectEngine>
#include <QGuiApplication>
#include <QtQml>
@@ -50,7 +51,7 @@ int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3D::Quick::QuickWindow view;
+ Qt3D::Window view;
Qt3D::Quick::QQmlAspectEngine engine;
engine.aspectEngine()->registerAspect(new Qt3D::QRenderAspect());