summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/custom-mesh-cpp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/custom-mesh-cpp/main.cpp')
-rw-r--r--examples/qt3d/custom-mesh-cpp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/custom-mesh-cpp/main.cpp b/examples/qt3d/custom-mesh-cpp/main.cpp
index 68f2683bf..d4652839c 100644
--- a/examples/qt3d/custom-mesh-cpp/main.cpp
+++ b/examples/qt3d/custom-mesh-cpp/main.cpp
@@ -60,8 +60,8 @@
#include <Qt3DRender/QRenderStateSet>
#include <Qt3DRender/QRenderAspect>
-#include <Qt3DRender/QForwardRenderer>
-#include <Qt3DRender/QPerVertexColorMaterial>
+#include <Qt3DExtras/QForwardRenderer>
+#include <Qt3DExtras/QPerVertexColorMaterial>
#include <Qt3DRender/QGeometryRenderer>
#include <Qt3DRender/QGeometry>
@@ -94,7 +94,7 @@ int main(int argc, char* argv[])
camController->setCamera(cameraEntity);
// Material
- Qt3DRender::QMaterial *material = new Qt3DRender::QPerVertexColorMaterial(rootEntity);
+ Qt3DRender::QMaterial *material = new Qt3DExtras::QPerVertexColorMaterial(rootEntity);
// Torus
Qt3DCore::QEntity *customMeshEntity = new Qt3DCore::QEntity(rootEntity);