summaryrefslogtreecommitdiff
path: root/src/imports/location.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location.pro')
-rw-r--r--src/imports/location.pro116
1 files changed, 116 insertions, 0 deletions
diff --git a/src/imports/location.pro b/src/imports/location.pro
new file mode 100644
index 00000000..cbbf10d6
--- /dev/null
+++ b/src/imports/location.pro
@@ -0,0 +1,116 @@
+TARGET = declarative_location
+TARGETPATH = Qt/location
+
+# Compatibility demands old path too.
+#TARGETPATH = QtMobility/location
+
+include(../qimportbase.pri)
+
+QT += declarative network location
+
+DESTDIR = $$QT.location.imports/$$TARGETPATH
+target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+
+# On some platforms, build both versions because debug and release
+# versions are incompatible
+#win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
+
+# Where to search for the #include'd files
+#INCLUDEPATH += ../../../src/global
+#INCLUDEPATH += ../../../src/location
+#INCLUDEPATH += ../../../src/location/landmarks
+#INCLUDEPATH += ../../../src/location/maps
+#INCLUDEPATH += .
+
+# The header and source files of this project. Note that qmake generates dependency information
+# and automatically adds necessary 'moc' files as it sees Q_OBJECT macros' in header files
+HEADERS += qdeclarativeposition_p.h \
+ qdeclarativepositionsource_p.h \
+ qdeclarativelandmark_p.h \
+ qdeclarativelandmarkmodel_p.h \
+ qdeclarativelandmarkcategorymodel_p.h \
+ qdeclarativelandmarkcategory_p.h \
+ qdeclarativelandmarkfilters_p.h \
+ qdeclarativecoordinate_p.h \
+ qdeclarativegeomapobjectborder_p.h \
+ qdeclarativegeomapcircleobject_p.h \
+ qdeclarativegeomapgroupobject_p.h \
+ qdeclarativegeomapobject_p.h \
+ qdeclarativegeomappixmapobject_p.h \
+ qdeclarativegeomappolygonobject_p.h \
+ qdeclarativegeomappolylineobject_p.h \
+ qdeclarativegeomaprectangleobject_p.h \
+ qdeclarativegeomaptextobject_p.h \
+ qdeclarativegeomapmouseevent_p.h \
+ qdeclarativegeomapmousearea_p.h \
+ qdeclarativegeoserviceprovider_p.h \
+ qdeclarativegraphicsgeomap_p.h \
+ qdeclarativegeoplace_p.h \
+ qdeclarativegeoaddress_p.h \
+ qdeclarativegeoboundingbox_p.h
+# qdeclarativegeosearchmodel_p.h \
+# qdeclarativegeocodemodel_p.h \
+# qdeclarativereversegeocodemodel_p.h \
+# qdeclarativegeoroutingmodel_p.h \
+# qdeclarativegeoroute_p.h \
+# qdeclarativegeoroutesegment_p.h \
+# qdeclarativegeomaneuver_p.h
+
+SOURCES += qdeclarativeposition.cpp \
+ location.cpp \
+ qdeclarativepositionsource.cpp \
+ qdeclarativelandmark.cpp \
+ qdeclarativelandmarkmodel.cpp \
+ qdeclarativelandmarkcategorymodel.cpp \
+ qdeclarativelandmarkcategory.cpp \
+ qdeclarativelandmarkfilters.cpp \
+ qdeclarativecoordinate.cpp \
+ qdeclarativegeomapobjectborder.cpp \
+ qdeclarativegeomapcircleobject.cpp \
+ qdeclarativegeomapgroupobject.cpp \
+ qdeclarativegeomapobject.cpp \
+ qdeclarativegeomappixmapobject.cpp \
+ qdeclarativegeomappolygonobject.cpp \
+ qdeclarativegeomappolylineobject.cpp \
+ qdeclarativegeomaprectangleobject.cpp \
+ qdeclarativegeomaptextobject.cpp \
+ qdeclarativegeomapmouseevent.cpp \
+ qdeclarativegeomapmousearea.cpp \
+ qdeclarativegeoserviceprovider.cpp \
+ qdeclarativegraphicsgeomap.cpp \
+ qdeclarativegeoplace.cpp \
+ qdeclarativegeoaddress.cpp \
+ qdeclarativegeoboundingbox.cpp
+# qdeclarativegeosearchmodel.cpp \
+# qdeclarativegeocodemodel.cpp \
+# qdeclarativereversegeocodemodel.cpp \
+# qdeclarativegeoroutingmodel.cpp \
+# qdeclarativegeoroute.cpp \
+# qdeclarativegeoroutesegment.cpp \
+# qdeclarativegeomaneuver.cpp
+
+# Tell qmake to create such makefile that qmldir and target (i.e. declarative_location)
+# are both copied to qt/imports/QtMobility/location -directory,
+# as the "/imports" is the default place where qmlviewer looks for plugins
+# (otherwise qmlviewer -I <path> -option is needed)
+
+qmldir.files += $$PWD/qmldir
+qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+
+INSTALLS += target qmldir
+
+symbian {
+ # In Symbian, a library should enjoy _largest_ possible capability set.
+ # However, really needs only Location capability so feel free to reduce
+ # depending on your signing capabilities.
+ TARGET.CAPABILITY = ALL -TCB
+ # Allow writable DLL data
+ TARGET.EPOCALLOWDLLDATA = 1
+ # Target UID, makes every Symbian app unique
+ TARGET.UID3 = 0x20033007
+ # Specifies what files shall be deployed: the plugin itself and the qmldir file.
+ importFiles.sources = $$DESTDIR/declarative_location$${QT_LIBINFIX}.dll qmldir
+ importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
+ DEPLOYMENT = importFiles
+ }