summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-12-13 09:40:44 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-13 02:42:08 +0100
commit7ff9af19eed97384269d458d0dc676af22cc844e (patch)
tree22395ede9da54da8849ce5e0233a97e4ea36f6d5 /tests/plugins
parent52923d7f194fa7740e4bd9cbfb4a0ace4c18a131 (diff)
downloadqtlocation-7ff9af19eed97384269d458d0dc676af22cc844e.tar.gz
Build against new QtQuick2 library.
Edited-by: Alex Wilson <alex.wilson@nokia.com> Change-Id: I0cebb40062f645665fa17048f04a5c5c78add0e6 Reviewed-by: David Laing <david.laing@nokia.com>
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/declarativetestplugin/declarativetestplugin.pro2
-rw-r--r--tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel_p.h2
-rw-r--r--tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp3
-rw-r--r--tests/plugins/declarativetestplugin/qdeclarativepinchgenerator_p.h4
4 files changed, 5 insertions, 6 deletions
diff --git a/tests/plugins/declarativetestplugin/declarativetestplugin.pro b/tests/plugins/declarativetestplugin/declarativetestplugin.pro
index f5986904..26e18426 100644
--- a/tests/plugins/declarativetestplugin/declarativetestplugin.pro
+++ b/tests/plugins/declarativetestplugin/declarativetestplugin.pro
@@ -3,7 +3,7 @@ TARGETPATH = QtLocation/test
include(../../../src/imports/location/qlocationimport.pri)
-QT += declarative location widgets
+QT += declarative quick location widgets
DESTDIR = $$QT.location.imports/$$TARGETPATH
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
diff --git a/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel_p.h b/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel_p.h
index 43c456b1..2fb2296f 100644
--- a/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel_p.h
+++ b/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel_p.h
@@ -42,7 +42,7 @@
#ifndef QDECLARATIVELOCATIONTESTMODEL_H
#define QDECLARATIVELOCATIONTESTMODEL_H
-#include <QtDeclarative/QQuickItem>
+#include <QtQuick/QQuickItem>
#include <QAbstractListModel>
#include <QTimer>
#include <QDebug>
diff --git a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
index 61555430..631e085b 100644
--- a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
+++ b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator.cpp
@@ -41,8 +41,7 @@
#include "qdeclarativepinchgenerator_p.h"
#include <QtWidgets/QApplication>
-#include <qsgengine.h>
-
+#include <QtQuick/QSGEngine>
QDeclarativePinchGenerator::QDeclarativePinchGenerator():
target_(0),
diff --git a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator_p.h b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator_p.h
index 125af66a..4b9188ef 100644
--- a/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator_p.h
+++ b/tests/plugins/declarativetestplugin/qdeclarativepinchgenerator_p.h
@@ -42,8 +42,8 @@
#ifndef QDECLARATIVEPINCHGENERATOR_H
#define QDECLARATIVEPINCHGENERATOR_H
-#include <QtDeclarative/QQuickItem>
-#include <QQuickCanvas>
+#include <QtQuick/QQuickItem>
+#include <QtQuick/QQuickCanvas>
#include <QtGui/QMouseEvent>
#include <QtGui/QTouchEvent>
#include <QtGui/QKeyEvent>