| 25 | | * Install dependencies: |
| 26 | | * Basic build deps, shared between Qt 5/4 and WebKit stuff: {{{fakeroot apt-get build-dep qt4-x11 libgrob-qtwebkit}}} ('''Yes, the libgrob-qtwebkit part is intentional''') |
| 27 | | * Dependencies needed for XCB back-end: {{{fakeroot apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm1 libxcb-icccm1-dev libxcb-sync0 libxcb-sync0-dev libxcb-xfixes0-dev}}} |
| 28 | | * Ensure the render packages are gone: {{{fakeroot apt-get remove --purge libxcb-render-util0 libxcb-render-util0-dev}}} |
| | 20 | Inside Scratchbox: |
| | 21 | |
| | 22 | * Basic build deps, shared between Qt 5/4 and WebKit stuff: {{{fakeroot apt-get build-dep qt4-x11 libgrob-qtwebkit}}} ('''Yes, the libgrob-qtwebkit part is intentional''') |
| | 23 | * Dependencies needed for XCB back-end: {{{fakeroot apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm1 libxcb-icccm1-dev libxcb-sync0 libxcb-sync0-dev libxcb-xfixes0-dev}}} |
| | 24 | * Ensure the render packages are gone: {{{fakeroot apt-get remove --purge libxcb-render-util0 libxcb-render-util0-dev}}} |
| | 25 | |
| | 26 | == Getting the Qt sources == |
| | 27 | |
| | 28 | Outside Scratchbox: |
| | 29 | |
| | 30 | * {{{git clone git://gitorious.org/qt/qt5.git qt5}}} |
| | 31 | * {{{cd qt5}}} |
| | 32 | * Check out the current qt5 revision used by the bot to run tests: {{{git checkout 37ea8e961b8fdaaa1f36758b8ad059b23c013f15}}} |
| | 33 | * Initialize & Clone the sub-modules needed: {{{./init-repository --module-subset=qtbase,qtxmlpatterns,qtscript,qtdeclarative}}} |
| 30 | | * '''DO NOT USE SHADOW BUILDS OF QT (MODULES) AT THE MOMENT'''. |
| 31 | | * Run configure in QtBase: {{{./configure -nokia-developer -fast -platform unsupported/linux-host-g++ -xplatform linux-g++-maemo -force-pkg-config -nomake tests}}} |
| 32 | | * And build {{{qtbase}}} with {{{make}}} |
| 33 | | * Ensure your PATH is up-to-date: {{{cd qtbase && export PATH=$PWD/bin:$PATH}}} |
| 34 | | * Build QtXmlPatterns, QtDeclarative and QtScript (in that order). Simply run {{{qmake}}} and {{{make}}} in the directories of the modules. |
| | 35 | |
| | 36 | Note: '''DO NOT USE SHADOW BUILDS OF QT (MODULES) AT THE MOMENT'''. |
| | 37 | |
| | 38 | == Build Instructions for Qt == |
| | 39 | |
| | 40 | Inside Scratchbox: |
| | 41 | * Run configure in the qt5 directory: {{{./configure -nokia-developer -fast -platform unsupported/linux-host-g++ -xplatform linux-g++-maemo -force-pkg-config -nomake tests}}} |
| | 42 | * And run {{{make}}} from the toplevel qt5 directory to build all modules in one shot. |
| | 43 | * Ensure your PATH is up-to-date: {{{export PATH=$PWD/qtbase/bin:$PATH}}} |
| | 44 | |
| | 45 | == Build WebKit == |
| | 46 | |