mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 11:17:11 +08:00
21 lines
290 B
Bash
21 lines
290 B
Bash
#!/bin/bash
|
|
|
|
makej () {
|
|
make -j$(sysctl -n hw.ncpu)
|
|
}
|
|
|
|
export PATH=$PATH:$(pwd)/qtbase/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 |