mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 11:17:11 +08:00
20 lines
296 B
Bash
20 lines
296 B
Bash
#!/bin/bash
|
|
|
|
makej () {
|
|
make -j$(sysctl -n hw.ncpu)
|
|
}
|
|
export PATH=$PATH:/usr/local/Qt-5.15.2/bin
|
|
|
|
cd qtbase
|
|
|
|
./configure -developer-build -opensource -confirm-license -nomake examples -nomake tests -no-openssl -securetransport
|
|
|
|
makej
|
|
|
|
cd ../qttools
|
|
qmake
|
|
makej
|
|
|
|
cd ../qtmacextras
|
|
qmake
|
|
makej |