summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/materials-cpp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/materials-cpp/main.cpp')
-rw-r--r--examples/qt3d/materials-cpp/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/materials-cpp/main.cpp b/examples/qt3d/materials-cpp/main.cpp
index 2e5a4834b..057f4f35e 100644
--- a/examples/qt3d/materials-cpp/main.cpp
+++ b/examples/qt3d/materials-cpp/main.cpp
@@ -36,8 +36,8 @@
#include <QGuiApplication>
+#include <window.h>
#include <Qt3DCore/QEntity>
-#include <Qt3DCore/Window>
#include <Qt3DCore/QAspectEngine>
#include <Qt3DCore/QCamera>
@@ -59,7 +59,7 @@ int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3D::Window view;
+ Window view;
Qt3D::QAspectEngine engine;
engine.registerAspect(new Qt3D::QRenderAspect());
Qt3D::QInputAspect *input = new Qt3D::QInputAspect;