From 51590853eb087cca47e053ea0a5ae2af3d635fcd Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 27 Apr 2022 21:05:40 -0700 Subject: [PATCH] build-system: macOS universal builds imply Qt6 builds Qt5 doesn't support the m1. Signed-off-by: Dirk Hohndel --- scripts/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index e76147c54..809412d17 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -80,7 +80,9 @@ while [[ $# -gt 0 ]] ; do -fat-build) # build a fat binary for macOS # ignored on other platforms + # this implies a Qt6 build (as m1 isn't supported in Qt5) ARCHS="arm64 x86_64" + BUILD_WITH_QT6="1" ;; -build-prefix) # instead of building in build & build-mobile in the current directory, build in build