mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-10-30 16:07:36 +08:00
scripts fix
This commit is contained in:
parent
1c448fe688
commit
96a9f5509f
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
@ -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/*
|
Loading…
Reference in New Issue
Block a user