summaryrefslogtreecommitdiff
path: root/src/plugins/position/corelocation/corelocation.pro
diff options
context:
space:
mode:
authorIan Dean <ian@mediator-software.com>2013-10-16 03:59:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-12 09:11:21 +0100
commitaab2ca5693a1ce20675657a460cdd0a5cb6411cc (patch)
tree5926622948f3ad7bd2335cb26c4fc1471f61ec81 /src/plugins/position/corelocation/corelocation.pro
parent2e75e8c18617250c864d2305a1ad14391e0cf4d7 (diff)
downloadqtlocation-aab2ca5693a1ce20675657a460cdd0a5cb6411cc.tar.gz
Add CoreLocation positioning plugin for QtLocation
Implements a QGeoPositionInfoSource plugin using CoreLocation. Implemented by Ian Dean. [ChangeLog][QtPositioning][QGeoPositionInfoSource] iOS position backend added. Change-Id: I09df434f95e5d72b1f6cf6381412334ae45d3d54 Reviewed-by: Ian Dean <ian@mediator-software.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/plugins/position/corelocation/corelocation.pro')
-rw-r--r--src/plugins/position/corelocation/corelocation.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/position/corelocation/corelocation.pro b/src/plugins/position/corelocation/corelocation.pro
new file mode 100644
index 00000000..bc65ee5d
--- /dev/null
+++ b/src/plugins/position/corelocation/corelocation.pro
@@ -0,0 +1,23 @@
+TARGET = qtposition_cl
+QT += positioning gui
+
+PLUGIN_TYPE = position
+PLUGIN_CLASS_NAME = QGeoPositionInfoSourceFactoryCL
+load(qt_plugin)
+
+INCLUDEPATH += $$QT.location.includes
+
+OBJECTIVE_SOURCES += \
+ qgeopositioninfosource_cl.mm \
+ qgeopositioninfosourcefactory_cl.mm
+
+HEADERS += \
+ qgeopositioninfosource_cl_p.h \
+ qgeopositioninfosourcefactory_cl.h
+
+OTHER_FILES += \
+ plugin.json
+
+osx: LIBS += -framework Foundation
+else: ios: LIBS += -framework CoreFoundation
+LIBS += -framework CoreLocation