summaryrefslogtreecommitdiffstats
path: root/examples/simple-qml/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple-qml/main.cpp')
-rw-r--r--examples/simple-qml/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple-qml/main.cpp b/examples/simple-qml/main.cpp
index bb2ac5898..ad8802ce6 100644
--- a/examples/simple-qml/main.cpp
+++ b/examples/simple-qml/main.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include <window.h>
+#include <quickwindow.h>
#include <rendereraspect.h>
@@ -50,7 +50,7 @@ int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3D::Window view;
+ Qt3D::Quick::QuickWindow view;
view.registerAspect(new Qt3D::RendererAspect());
// There should be some synchronising mechanism to make sure
// the source is set after alll aspects have been completely initialized