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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qt3d/custom-mesh-cpp/main.cpp b/examples/qt3d/custom-mesh-cpp/main.cpp
index d4652839c..6809e62aa 100644
--- a/examples/qt3d/custom-mesh-cpp/main.cpp
+++ b/examples/qt3d/custom-mesh-cpp/main.cpp
@@ -69,13 +69,13 @@
#include <Qt3DRender/QBuffer>
#include <QPropertyAnimation>
-#include "qt3dwindow.h"
-#include "qfirstpersoncameracontroller.h"
+#include <Qt3DExtras/qt3dwindow.h>
+#include <Qt3DExtras/qfirstpersoncameracontroller.h>
int main(int argc, char* argv[])
{
QGuiApplication app(argc, argv);
- Qt3DWindow view;
+ Qt3DExtras::Qt3DWindow view;
view.defaultFramegraph()->setClearColor(QColor::fromRgbF(0.0, 0.5, 1.0, 1.0));
// Root entity
@@ -90,7 +90,7 @@ int main(int argc, char* argv[])
cameraEntity->setViewCenter(QVector3D(0, 0, 0));
// For camera controls
- Qt3DInput::QFirstPersonCameraController *camController = new Qt3DInput::QFirstPersonCameraController(rootEntity);
+ Qt3DExtras::QFirstPersonCameraController *camController = new Qt3DExtras::QFirstPersonCameraController(rootEntity);
camController->setCamera(cameraEntity);
// Material