diff options
author | Olli Vuolteenaho <olli.vuolteenaho@qt.io> | 2024-03-08 09:44:41 +0200 |
---|---|---|
committer | Olli Vuolteenaho <olli.vuolteenaho@qt.io> | 2024-03-11 13:16:01 +0200 |
commit | a62a17e3718f8cffd4a85fef4a1472765040d042 (patch) | |
tree | c61313fd94c1288179dd60d272f839a4365c6756 | |
parent | 6750b987727464a6ea187a2c2f8417391b2685dc (diff) |
Fix GeoJson Viewer example Android deployment
As of 6.7.0, androiddeployqt doesn't deploy plugins to the Android .apk
if they are not explicitly linked to the project. The missins plugins
cause the example to not load the maps and to be rather useless.
Let's fix this by adding Location / Qt::Location to CMakeLists.txt.
Fixes: QTBUG-123112
Pick-to: 6.7 6.7.0
Change-Id: I67ddc67f58fd9eb2e7225a336d559d1dd2e91c36
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
-rw-r--r-- | examples/location/geojson_viewer/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/location/geojson_viewer/CMakeLists.txt b/examples/location/geojson_viewer/CMakeLists.txt index 19111eec..245b5caf 100644 --- a/examples/location/geojson_viewer/CMakeLists.txt +++ b/examples/location/geojson_viewer/CMakeLists.txt @@ -30,6 +30,7 @@ qt_add_executable(qml_location_geojsonviewer WIN32 MACOSX_BUNDLE target_link_libraries(qml_location_geojsonviewer PUBLIC Qt::Core Qt::Gui + Qt::Location Qt::Positioning Qt::Qml Qt::Quick |