mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-22 19:00:04 +08:00
5.6.2 compile instructions
This commit is contained in:
parent
c532ed1d65
commit
bb23f34339
37
5.6.2/compile_mac.sh
Normal file
37
5.6.2/compile_mac.sh
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=$PATH:/usr/local/Qt-5.6.2/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.2/
|
||||
|
||||
cd /usr/local
|
||||
zip -r ~/Desktop/qt5.6.2_mac.zip Qt-5.6.2/*
|
17
5.6.2/compile_win.txt
Normal file
17
5.6.2/compile_win.txt
Normal file
@ -0,0 +1,17 @@
|
||||
1. Копируем все файлы и папки из данного каталога в C:\qt
|
||||
2. qtbase\configure.bat - коментируем "if not exist %QTSRC%\.gitignore goto sconf"
|
||||
3. Запускаем qt5vars.cmd
|
||||
5. cd qtbase
|
||||
configure -opensource -opengl desktop -mp -nomake tests -nomake examples -target xp
|
||||
nmake
|
||||
|
||||
6. cd ..\qttools
|
||||
qmake
|
||||
nmake
|
||||
|
||||
7. cd ..\qtbase
|
||||
nmake docs
|
||||
cd ..\qttools
|
||||
nmake docs
|
||||
|
||||
9. ..\cleanup.bat
|
Loading…
Reference in New Issue
Block a user