diff options
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/android/qmake-build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/android/qmake-build.sh b/packaging/android/qmake-build.sh index c209cce36..18f20a4ee 100755 --- a/packaging/android/qmake-build.sh +++ b/packaging/android/qmake-build.sh @@ -158,8 +158,13 @@ if [ "$QUICK" = "" ] ; then # build google maps plugin # this is the easy one as it uses qmake which ensures things get built for all platforms, etc "${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . googlemaps + # but unfortunately, on Android (and apparently only on Android) the naming pattern for geoservice + # plugins has changed + pushd googlemaps + sed -i 's/TARGET = qtgeoservices_googlemaps/TARGET = plugins_geoservices_qtgeoservices_googlemaps/' googlemaps.pro + popd QT_PLUGINS_PATH=$($QMAKE -query QT_INSTALL_PLUGINS) - GOOGLEMAPS_BIN=libqtgeoservices_googlemaps.so + GOOGLEMAPS_BIN=libplugins_geoservices_qtgeoservices_googlemaps_arm64-v8a.so if [ ! -e "$QT_PLUGINS_PATH"/geoservices/$GOOGLEMAPS_BIN ] || [ googlemaps/.git/HEAD -nt "$QT_PLUGINS_PATH"/geoservices/$GOOGLEMAPS_BIN ] ; then mkdir -p googlemaps-build pushd googlemaps-build |