qt-build-tools/5.15.2/compile_mac_dev.sh

18 lines
309 B
Bash
Raw Normal View History

2020-11-22 22:46:07 +08:00
#!/bin/bash
2021-08-04 22:49:16 +08:00
alias makej="make -j $(sysctl hw.ncpu | awk '{print $2}')"
2020-11-22 22:46:07 +08:00
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
2021-08-04 22:49:16 +08:00
makej
2020-11-22 22:46:07 +08:00
cd ../qttools
qmake
2021-08-04 22:49:16 +08:00
makej
2020-11-22 22:46:07 +08:00
cd ../qtmacextras
qmake
2021-08-04 22:49:16 +08:00
makej