summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-11-13 12:28:31 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-11-15 10:47:05 +0000
commite78a5ab5cf4d932aea0503ac5684a95a235db8b1 (patch)
tree062561aa1fc5b90adfd9ca278518f96ddd53bea7 /examples
parent8c42dba3910c0bec3134f57bd5fa466df72d7ba7 (diff)
downloadqtlocation-e78a5ab5cf4d932aea0503ac5684a95a235db8b1.tar.gz
Add plugin dependencies to the mapviewer examples
This is a workaround for QTBUG-38735. Task-number: QTBUG-58589 Change-Id: I8e9031657d04f192b64581ea060dfc91bce3fada Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/location/mapviewer/mapviewer.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/location/mapviewer/mapviewer.pro b/examples/location/mapviewer/mapviewer.pro
index 90d85e62..d49258a2 100644
--- a/examples/location/mapviewer/mapviewer.pro
+++ b/examples/location/mapviewer/mapviewer.pro
@@ -5,6 +5,11 @@ QT += qml network quick positioning location
CONFIG += qtquickcompiler
SOURCES += main.cpp
+# Workaround for QTBUG-38735
+QT_FOR_CONFIG += location-private
+qtConfig(geoservices_mapboxgl): QT += sql opengl
+qtConfig(geoservices_osm): QT += concurrent
+
RESOURCES += \
mapviewer.qrc