qt-build-tools/5.6.3/compile_mac_dev.sh

20 lines
287 B
Bash
Raw Normal View History

2021-08-09 23:14:31 +08:00
#!/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