summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/bigscene-cpp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/bigscene-cpp/main.cpp')
-rw-r--r--examples/qt3d/bigscene-cpp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qt3d/bigscene-cpp/main.cpp b/examples/qt3d/bigscene-cpp/main.cpp
index 3b6bc28dc..ceedf91a7 100644
--- a/examples/qt3d/bigscene-cpp/main.cpp
+++ b/examples/qt3d/bigscene-cpp/main.cpp
@@ -57,7 +57,7 @@
#include <Qt3DRenderer/QForwardRenderer>
#include <qmath.h>
-using namespace Qt3D;
+using namespace Qt3DCore;
using namespace Qt3DRender;
int main(int ac, char **av)
@@ -65,7 +65,7 @@ int main(int ac, char **av)
QGuiApplication app(ac, av);
Window view;
- Qt3D::QAspectEngine engine;
+ Qt3DCore::QAspectEngine engine;
engine.registerAspect(new Qt3DRender::QRenderAspect());
Qt3DInput::QInputAspect *input = new Qt3DInput::QInputAspect;
engine.registerAspect(input);
@@ -100,7 +100,7 @@ int main(int ac, char **av)
// Scene
for (int i = 0; i < max; i++) {
QEntity *e = new QEntity();
- Qt3D::QTransform *transform = new Qt3D::QTransform();
+ Qt3DCore::QTransform *transform = new Qt3DCore::QTransform();
QTranslateTransform *translation = new QTranslateTransform();
QRotateTransform *rotateX = new QRotateTransform();
QRotateTransform *rotateZ = new QRotateTransform();