summaryrefslogtreecommitdiff
path: root/src/imports/location/location.pro
blob: b6515fd172f92f8d632d704d2a83166f7bfbb6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
TARGET  = declarative_location
TARGETPATH = Qt/location

# Compatibility demands old path too.
#TARGETPATH = QtMobility/location

include(qlocationimport.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 += .

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 \
           qdeclarativegeolocation_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 \
           qdeclarativegeoboundingarea_p.h \
           qdeclarativegeoboundingbox_p.h \
           qdeclarativegeocodemodel_p.h \
           qdeclarativegeoroutemodel_p.h \
           qdeclarativegeoroute_p.h \
           qdeclarativegeoroutesegment_p.h \
           qdeclarativegeomaneuver_p.h \
           qdeclarativegeomaprouteobject_p.h \
           qdeclarativegeoboundingcircle_p.h

SOURCES += qdeclarativeposition.cpp \
           location.cpp \
           qdeclarativepositionsource.cpp \
           qdeclarativelandmark.cpp \
           qdeclarativelandmarkmodel.cpp \
           qdeclarativelandmarkcategorymodel.cpp \
           qdeclarativelandmarkcategory.cpp \
           qdeclarativelandmarkfilters.cpp \
           qdeclarativecoordinate.cpp \
           qdeclarativegeolocation.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 \
           qdeclarativegeocodemodel.cpp \
           qdeclarativegeoroutemodel.cpp \
           qdeclarativegeoroute.cpp \
           qdeclarativegeoroutesegment.cpp \
           qdeclarativegeomaneuver.cpp \
           qdeclarativegeomaprouteobject.cpp \
           qdeclarativegeoboundingcircle.cpp

include(declarativeplaces/declarativeplaces.pri)

# 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