mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 11:17:11 +08:00
5.6.1 compile_mac.sh fix + no password
This commit is contained in:
parent
068f834257
commit
75f80f8bb5
@ -5,28 +5,33 @@ export PATH=$PATH:/usr/local/Qt-5.6.1/bin
|
|||||||
cd qtbase
|
cd qtbase
|
||||||
./configure -opensource -no-openssl -no-securetransport -nomake examples -nomake tests -platform macx-clang-32
|
./configure -opensource -no-openssl -no-securetransport -nomake examples -nomake tests -platform macx-clang-32
|
||||||
make
|
make
|
||||||
make docs
|
echo 12345 | sudo -S sudo make install
|
||||||
sudo make install
|
|
||||||
|
|
||||||
cd ../qtdeclarative
|
cd ../qtdeclarative
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
make docs
|
echo 12345 | sudo -S sudo make install
|
||||||
sudo make install
|
|
||||||
|
|
||||||
cd ../qttools
|
cd ../qttools
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
make docs
|
echo 12345 | sudo -S sudo make install
|
||||||
sudo make install
|
|
||||||
|
|
||||||
cd ../qtmacextras
|
cd ../qtmacextras
|
||||||
qmake
|
qmake
|
||||||
make
|
make
|
||||||
make docs
|
echo 12345 | sudo -S sudo make install
|
||||||
sudo make install
|
|
||||||
|
|
||||||
sudo cp -f -r ../qtbase/doc /usr/local/Qt-5.6.1/
|
# 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
|
cd /usr/local
|
||||||
zip -r ~/Desktop/qt5.6.1_mac.zip Qt-5.6.1/*
|
zip -r ~/Desktop/qt5.6.1_mac.zip Qt-5.6.1/*
|
Loading…
Reference in New Issue
Block a user