Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
dev:qt:build_qt_from_sources [2015/05/06 15:58] denis [configuring] |
dev:qt:build_qt_from_sources [2015/06/16 08:53] (текущий) alexeyb [compiling] |
||
|---|---|---|---|
| Строка 13: | Строка 13: | ||
| | | ||
| ===== downloading ===== | ===== downloading ===== | ||
| - | + | Assuming downloading version is 5.5. | |
| - | git clone git://code.qt.io/qt/qt5.git | + | cd /home/denis/asutp/tools/qt |
| - | cd qt5 | + | git clone git://code.qt.io/qt/qt5.git 5.5 |
| + | or | ||
| + | git clone http://code.qt.io/qt/qt5.git 5.5 | ||
| + | cd 5.5 | ||
| git checkout 5.5 | git checkout 5.5 | ||
| perl init-repository --no-webkit | perl init-repository --no-webkit | ||
| Строка 21: | Строка 24: | ||
| ===== configuring ===== | ===== configuring ===== | ||
| ./configure -developer-build -opensource -nomake examples -nomake tests -debug-and-release -c++11 -confirm-license | ./configure -developer-build -opensource -nomake examples -nomake tests -debug-and-release -c++11 -confirm-license | ||
| + | | ||
| + | ===== compiling ===== | ||
| + | make -j4 | ||
| + | |||
| + | ===== АХТУНГ ===== | ||
| + | может быть легкий achtung, флаг -j следует сопоставлять с мощностью машины | ||
| + | проверено на 4 ядрах, -j4 вызывает легкий ступор. | ||
| + | Полный achtung на -j без числа. | ||
| + | | ||
| + | ===== adding to qt creator ===== | ||
| + | - Tools / Options / Qt Versions / Add: ''/home/denis/asutp/tools/qt/5.5/Src/qtbase/bin/qmake'' | ||
| + | - Kits / Clone / Qt Version: ''5.5'' | ||
| + | |||