1TEMPLATE = subdirs
2
3qtHaveModule(location) {
4
5    SUBDIRS += geotestplugin    # several subtargets depend on this
6
7    #Place unit tests
8    SUBDIRS += qplace \
9           qplaceattribute \
10           qplacecategory \
11           qplacecontactdetail \
12           qplacecontentrequest \
13           qplacedetailsreply \
14           qplaceeditorial \
15           qplacematchreply \
16           qplacematchrequest \
17           qplaceimage \
18           qplaceratings \
19           qplaceresult \
20           qproposedsearchresult \
21           qplacereply \
22           qplacereview \
23           qplacesearchrequest \
24           qplacesupplier \
25           qplacesearchresult \
26           qplacesearchreply \
27           qplacesearchsuggestionreply \
28           qplaceuser
29
30    !android: {
31        SUBDIRS += \
32           qplacemanager \
33           qplacemanager_nokia \
34           qplacemanager_unsupported \
35           placesplugin_unsupported
36
37        qplacemanager.depends = geotestplugin
38    }
39
40    #misc tests
41    SUBDIRS +=   doublevectors
42    !android: SUBDIRS += cmake qmlinterface # looks for .qmls locally
43
44    #Map and Navigation tests
45    SUBDIRS += qgeocodingmanagerplugins \
46           qgeocameracapabilities\
47           qgeocameradata \
48           qgeocodereply \
49           qgeomaneuver \
50           qgeotiledmapscene \
51           qgeoroute \
52           qgeoroutereply \
53           qgeorouterequest \
54           qgeoroutesegment \
55           qgeoroutingmanagerplugins \
56           qgeotilespec \
57           qgeoroutexmlparser \
58           maptype \
59           qgeocameratiles
60
61    # These use plugins
62    !android: {
63        SUBDIRS += qgeoserviceprovider \
64                         qgeoroutingmanager \
65                         nokia_services \
66                         qgeocodingmanager \
67                         qgeotiledmap
68
69        qgeoserviceprovider.depends = geotestplugin
70        qgeotiledmap.depends = geotestplugin
71    }
72    qtHaveModule(quick):!android {
73        SUBDIRS += declarative_geoshape \
74                   declarative_core
75        declarative_core.depends = geotestplugin
76
77        !mac: {
78            SUBDIRS += declarative_ui
79            declarative_ui.depends = geotestplugin
80        }
81    }
82}
83
84
85SUBDIRS += \
86           qgeoaddress \
87           qgeoshape \
88           qgeorectangle \
89           qgeocircle \
90           qgeopath \
91           qgeopolygon \
92           qgeocoordinate \
93           qgeolocation \
94           qgeopositioninfo \
95           qgeosatelliteinfo \
96           qgeojson
97
98!android: SUBDIRS += \
99            positionplugin \
100            positionpluginV1 \
101            positionplugintest \
102            qgeoareamonitor \
103            qgeopositioninfosource \
104            qgeosatelliteinfosource \
105            qnmeapositioninfosource
106