aboutsummaryrefslogtreecommitdiffstats
path: root/examples/embedded/qmleasing/qmleasing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedded/qmleasing/qmleasing.cpp')
-rw-r--r--examples/embedded/qmleasing/qmleasing.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/embedded/qmleasing/qmleasing.cpp b/examples/embedded/qmleasing/qmleasing.cpp
index 8220e03cff..d516825d9a 100644
--- a/examples/embedded/qmleasing/qmleasing.cpp
+++ b/examples/embedded/qmleasing/qmleasing.cpp
@@ -41,17 +41,17 @@
#include <QtCore/QFileInfo>
#include <QtWidgets/QApplication>
-#include <QtDeclarative/QDeclarativeView>
-#include <QtDeclarative/QDeclarativeEngine>
+#include <QtQuick/QQuickView>
+#include <QtQml/QQmlEngine>
int main(int argc, char *argv[])
{
QApplication application(argc, argv);
const QString mainQmlApp = QLatin1String("easing.qml");
- QDeclarativeView view;
+ QQuickView view;
view.setSource(QUrl(mainQmlApp));
- view.setResizeMode(QDeclarativeView::SizeRootObjectToView);
+ view.setResizeMode(QQuickView::SizeRootObjectToView);
QObject::connect(view.engine(), SIGNAL(quit()), &application, SLOT(quit()));
#if defined(QT_KEYPAD_NAVIGATION)