summaryrefslogtreecommitdiff
path: root/src/positioning/qdeclarativegeolocation_p.h
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@jollamobile.com>2013-12-10 18:37:29 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-11 00:06:31 +0100
commitf9f88b44e747db8ad218879fec4dbb1627996aef (patch)
tree59f3092d67096566a7239fe46d8ea463444131d8 /src/positioning/qdeclarativegeolocation_p.h
parent073c2f57bfbc4fd1a0a67f0b7bbcb24875ce1246 (diff)
downloadqtlocation-f9f88b44e747db8ad218879fec4dbb1627996aef.tar.gz
Remove QtQml dependency from QtPositioning.
The QtQml dependency was only required for the QML_DECLARE_TYPE macro. Since Qt 5.0 use of this macro is not required. Add missing includes which were being pulled in via QtQml. Task-number: QTBUG-33220 Change-Id: Ief6ab94e25b4bc5cb753672908b09f7e772df1c8 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/positioning/qdeclarativegeolocation_p.h')
-rw-r--r--src/positioning/qdeclarativegeolocation_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/positioning/qdeclarativegeolocation_p.h b/src/positioning/qdeclarativegeolocation_p.h
index 1352d827..08f28ef5 100644
--- a/src/positioning/qdeclarativegeolocation_p.h
+++ b/src/positioning/qdeclarativegeolocation_p.h
@@ -42,9 +42,7 @@
#ifndef QDECLARATIVEGEOLOCATION_P_H
#define QDECLARATIVEGEOLOCATION_P_H
-
#include <QtCore/QObject>
-#include <QtQml/qqml.h>
#include <QtPositioning/QGeoLocation>
#include <QtPositioning/QGeoRectangle>
#include <QtPositioning/private/qdeclarativegeoaddress_p.h>
@@ -89,6 +87,4 @@ private:
QT_END_NAMESPACE
-QML_DECLARE_TYPE(QDeclarativeGeoLocation)
-
#endif // QDECLARATIVELOCATION_P_H