mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 03:10:06 +08:00
37 lines
639 B
Bash
37 lines
639 B
Bash
#!/bin/bash
|
|
|
|
export PATH=$PATH:/usr/local/Qt-5.6.1/bin
|
|
|
|
cd qtbase
|
|
./configure -opensource -no-openssl -no-securetransport -nomake examples -nomake tests -platform macx-clang-32
|
|
make
|
|
echo 12345 | sudo -S sudo make install
|
|
|
|
cd ../qtdeclarative
|
|
qmake
|
|
make
|
|
echo 12345 | sudo -S sudo make install
|
|
|
|
cd ../qttools
|
|
qmake
|
|
make
|
|
echo 12345 | sudo -S sudo make install
|
|
|
|
cd ../qtmacextras
|
|
qmake
|
|
make
|
|
echo 12345 | sudo -S sudo make install
|
|
|
|
# make docs
|
|
|
|
cd ../qtbase
|
|
make docs
|
|
cd ../qttools
|
|
make docs
|
|
cd ../qtmacextras
|
|
make docs
|
|
|
|
echo 12345 | sudo -S cp -f -r ../qtbase/doc /usr/local/Qt-5.6.1/
|
|
|
|
cd /usr/local
|
|
zip -r ~/Desktop/qt5.6.1_mac.zip Qt-5.6.1/* |