mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-12-05 01:11:56 +08:00
scripts fix
This commit is contained in:
parent
1c448fe688
commit
96a9f5509f
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
make -j$(sysctl -n hw.ncpu)
|
||||||
}
|
}
|
||||||
@ -10,17 +12,17 @@ cd qtbase
|
|||||||
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2/*
|
zip -r ~/Desktop/qt5.15.2_mac.zip Qt-5.15.2/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/*
|
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./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
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/*
|
zip -r ~/Desktop/qt5.15.2_mac_arm.zip Qt-5.15.2-arm/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./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
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/*
|
zip -r ~/Desktop/qt5.15.2_mac_static.zip Qt-5.15.2-static/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
make -j$(sysctl -n hw.ncpu)
|
||||||
}
|
}
|
||||||
@ -10,17 +12,17 @@ cd qtbase
|
|||||||
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.7_mac.zip Qt-5.15.7/*
|
zip -r ~/Desktop/qt5.15.7_mac.zip Qt-5.15.7/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./configure $OPTIONS QMAKE_APPLE_DEVICE_ARCHS=arm64 -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/*
|
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./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
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/*
|
zip -r ~/Desktop/qt5.15.7_mac_arm.zip Qt-5.15.7-arm/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
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
|
./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
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/*
|
zip -r ~/Desktop/qt5.15.7_mac_static.zip Qt-5.15.7-static/*
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then echo "Please specify the admin pass as first argument"; exit 1; fi
|
||||||
|
|
||||||
makej () {
|
makej () {
|
||||||
make -j$(sysctl -n hw.ncpu)
|
make -j$(sysctl -n hw.ncpu)
|
||||||
}
|
}
|
||||||
@ -10,17 +12,17 @@ cd qtbase
|
|||||||
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
./configure -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
||||||
|
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
makej
|
makej
|
||||||
echo maki | sudo -S sudo make install
|
echo $1 | sudo -S sudo make install
|
||||||
|
|
||||||
cd /usr/local
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/*
|
zip -r ~/Desktop/qt5.6.3_mac.zip Qt-5.6.3/*
|
Loading…
Reference in New Issue
Block a user