aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlscene/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlscene/main.cpp')
-rw-r--r--tools/qmlscene/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp
index c5f9274571..4706c72eb6 100644
--- a/tools/qmlscene/main.cpp
+++ b/tools/qmlscene/main.cpp
@@ -58,8 +58,8 @@
#include <QtDeclarative/qdeclarativecontext.h>
// ### This should be private API
-#include <qsgitem.h>
-#include <qsgview.h>
+#include <qquickitem.h>
+#include <qquickview.h>
#define QT_NO_SCENEGRAPHITEM
@@ -143,12 +143,12 @@ void RenderStatistics::printTotalStats()
}
#endif
-class MyQSGView : public QSGView
+class MyQQuickView : public QQuickView
{
public:
- MyQSGView() : QSGView()
+ MyQQuickView() : QQuickView()
{
- setResizeMode(QSGView::SizeRootObjectToView);
+ setResizeMode(QQuickView::SizeRootObjectToView);
}
};
@@ -491,7 +491,7 @@ int main(int argc, char ** argv)
#endif
if (options.versionDetection)
checkAndAdaptVersion(options.file);
- QSGView *qxView = new MyQSGView();
+ QQuickView *qxView = new MyQQuickView();
qxView->setVSyncAnimations(options.vsync);
engine = qxView->engine();
for (int i = 0; i < imports.size(); ++i)