diff --git a/5.15.2/compile_mac.sh b/5.15.2/compile_mac.sh index 9cb0b26..8784963 100644 --- a/5.15.2/compile_mac.sh +++ b/5.15.2/compile_mac.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2/* \ No newline at end of file diff --git a/5.15.2/compile_mac_arm.sh b/5.15.2/compile_mac_arm.sh index b224145..02edcd0 100644 --- a/5.15.2/compile_mac_arm.sh +++ b/5.15.2/compile_mac_arm.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/* \ No newline at end of file diff --git a/5.15.2/compile_mac_arm_cross.sh b/5.15.2/compile_mac_arm_cross.sh index cc7a07d..cf3d75d 100644 --- a/5.15.2/compile_mac_arm_cross.sh +++ b/5.15.2/compile_mac_arm_cross.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-arm makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/* \ No newline at end of file diff --git a/5.15.2/compile_mac_static.sh b/5.15.2/compile_mac_static.sh index 60e6eeb..2745087 100644 --- a/5.15.2/compile_mac_static.sh +++ b/5.15.2/compile_mac_static.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.2-static makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/* \ No newline at end of file diff --git a/5.15.7/compile_mac.sh b/5.15.7/compile_mac.sh index 08b8c9f..10c5ffc 100644 --- a/5.15.7/compile_mac.sh +++ b/5.15.7/compile_mac.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.7_mac.zip Qt-5.15.7/* \ No newline at end of file diff --git a/5.15.7/compile_mac_arm.sh b/5.15.7/compile_mac_arm.sh index fe8162f..3713f96 100644 --- a/5.15.7/compile_mac_arm.sh +++ b/5.15.7/compile_mac_arm.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/* \ No newline at end of file diff --git a/5.15.7/compile_mac_arm_cross.sh b/5.15.7/compile_mac_arm_cross.sh index 1ac9b68..e552456 100644 --- a/5.15.7/compile_mac_arm_cross.sh +++ b/5.15.7/compile_mac_arm_cross.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -device-option QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-arm makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/* \ No newline at end of file diff --git a/5.15.7/compile_mac_static.sh b/5.15.7/compile_mac_static.sh index 8088d4c..11d3614 100644 --- a/5.15.7/compile_mac_static.sh +++ b/5.15.7/compile_mac_static.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -static -release -ltcg -optimize-size -no-pch -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.7-static makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/* \ No newline at end of file diff --git a/5.6.3/compile_mac.sh b/5.6.3/compile_mac.sh index 11efcaf..06a519d 100644 --- a/5.6.3/compile_mac.sh +++ b/5.6.3/compile_mac.sh @@ -1,5 +1,7 @@ #!/bin/bash +if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi + makej () { make -j$(sysctl -n hw.ncpu) } @@ -10,17 +12,17 @@ cd qtbase ./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qttools qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd ../qtmacextras qmake makej -echo maki | sudo -S sudo make install +echo $1 | sudo -S sudo make install cd /usr/local zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/* \ No newline at end of file