1TARGET = qml_location_mapviewer
2TEMPLATE = app
3
4QT += qml network quick positioning location
5SOURCES += main.cpp
6
7# Workaround for QTBUG-38735
8QT_FOR_CONFIG += location-private
9qtConfig(geoservices_mapboxgl): QT += sql
10qtConfig(geoservices_osm): QT += concurrent
11
12RESOURCES += \
13    mapviewer.qrc
14
15OTHER_FILES +=mapviewer.qml \
16    helper.js \
17    map/MapComponent.qml \
18    map/MapSliders.qml \
19    map/Marker.qml \
20    map/CircleItem.qml \
21    map/RectangleItem.qml \
22    map/PolylineItem.qml \
23    map/PolygonItem.qml \
24    map/ImageItem.qml \
25    map/MiniMap.qml \
26    menus/ItemPopupMenu.qml \
27    menus/MainMenu.qml \
28    menus/MapPopupMenu.qml \
29    menus/MarkerPopupMenu \
30    forms/Geocode.qml \
31    forms/GeocodeForm.ui.qml\
32    forms/Message.qml \
33    forms/MessageForm.ui.qml \
34    forms/ReverseGeocode.qml \
35    forms/ReverseGeocodeForm.ui.qml \
36    forms/RouteCoordinate.qml \
37    forms/Locale.qml \
38    forms/LocaleForm.ui.qml \
39    forms/RouteAddress.qml \
40    forms/RouteAddressForm.ui.qml \
41    forms/RouteCoordinateForm.ui.qml \
42    forms/RouteList.qml \
43    forms/RouteListDelegate.qml \
44    forms/RouteListHeader.qml
45
46target.path = $$[QT_INSTALL_EXAMPLES]/location/mapviewer
47INSTALLS += target
48