From 4515901efa875a08cc36514527f095c782e7aafa Mon Sep 17 00:00:00 2001 From: kleuter Date: Tue, 29 Mar 2022 00:48:54 +0200 Subject: [PATCH] qt 5.15.8 fix build on apple silicon --- 5.15.8/compile_mac.sh | 2 +- 5.15.8/compile_mac_arm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/5.15.8/compile_mac.sh b/5.15.8/compile_mac.sh index 3743933..00f4371 100644 --- a/5.15.8/compile_mac.sh +++ b/5.15.8/compile_mac.sh @@ -9,7 +9,7 @@ export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase -./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport +./configure QMAKE_APPLE_DEVICE_ARCHS=x86_64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej echo $1 | sudo -S sudo make install diff --git a/5.15.8/compile_mac_arm.sh b/5.15.8/compile_mac_arm.sh index f5f1701..7e0f7f0 100644 --- a/5.15.8/compile_mac_arm.sh +++ b/5.15.8/compile_mac_arm.sh @@ -9,7 +9,7 @@ export PATH=$PATH:$(pwd)/qtbase/bin cd qtbase -./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport +./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.8-arm makej echo $1 | sudo -S sudo make install