From 88acef7f0fa75d627a8689b7d3ed4cac8734462d Mon Sep 17 00:00:00 2001 From: jme <32236882+notrege@users.noreply.github.com> Date: Fri, 31 May 2024 13:18:43 +0100 Subject: [PATCH] release build google maps After the Mac QT upgrade to 5.15.13 google maps stopped working because a debug plugin was built and not deployed. This changes forces a release build. It may or may not be the best alternative, but if nothing else it's a starting point for discussion with people who know more about qmake than I do. Signed-off-by: jme <32236882+notrege@users.noreply.github.com> --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index ab460ff02..b8fbf7d34 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -579,7 +579,7 @@ if [ "$QUICK" != "1" ] && [ "$BUILD_DESKTOP$BUILD_MOBILE" != "" ] && ( [[ $QT_VE # regardless of whether we do a fat build or not, let's do the 'native' build here $QMAKE "INCLUDEPATH=$INSTALL_ROOT/../qtlocation/build/include/QtLocation/6.3.0" QMAKE_APPLE_DEVICE_ARCHS="$(uname -m)" ../googlemaps.pro else - $QMAKE "INCLUDEPATH=$INSTALL_ROOT/include" ../googlemaps.pro + $QMAKE "INCLUDEPATH=$INSTALL_ROOT/include" "CONFIG+=release" ../googlemaps.pro fi make -j4 if [ "$PLATFORM" = Darwin ] && [[ $QT_VERSION == 6* ]] && [[ $ARCHS == *" "* ]] ; then