Changes between Version 30 and Version 31 of BuildingQt5OnHarmattan


Ignore:
Timestamp:
Oct 14, 2011 4:30:17 AM (13 years ago)
Author:
Simon Hausmann
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQt5OnHarmattan

    v30 v31  
    1515   * Working Scratchbox setup (url??)
    1616   * Running N950/N9 with root, security disabled and scratchbox home directory mounted via NFS
    17    * Present clones of qtbase, qtxmlpatterns, qtdeclarative and qtscript. This is the minimal set. You can add more if you'd like. (mobility'ish ones for example)
    18       * https://qt.gitorious.org/qt/qtbase
    19       * https://qt.gitorious.org/qt/qtxmlpatterns
    20       * https://qt.gitorious.org/qt/qtscript
    21       * https://qt.gitorious.org/qt/qtdeclarative
    2217
    23 == Build Instructions ==
     18== Installing Build Dependencies ==
    2419
    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}}}
     20Inside 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
     28Outside 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}}}
    2934   * Apply the combined xinput2/harmattan patches to qtbase: Change to {{{qtbase}}}, download {{{wget -O patch.txt http://paste.kde.org/133597/raw/}}} and apply with {{{git am -3 patch.txt}}}
    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
     36Note: '''DO NOT USE SHADOW BUILDS OF QT (MODULES) AT THE MOMENT'''.
     37
     38== Build Instructions for Qt ==
     39
     40Inside 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
    3547   * {{{perl Tools/Scripts/build-webkit -2 --qt --release --no-3d-canvas --makearg="CONFIG+=use_qt_mobile_theme"}}}
    3648