mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-26 12:37:11 +08:00
qt 5.15.8 fix build on apple silicon
This commit is contained in:
parent
37359addd2
commit
4515901efa
@ -9,7 +9,7 @@ export PATH=$PATH:$(pwd)/qtbase/bin
|
|||||||
|
|
||||||
cd qtbase
|
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
|
makej
|
||||||
echo $1 | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
@ -9,7 +9,7 @@ export PATH=$PATH:$(pwd)/qtbase/bin
|
|||||||
|
|
||||||
cd qtbase
|
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
|
makej
|
||||||
echo $1 | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
Loading…
Reference in New Issue
Block a user