Changes between Version 12 and Version 13 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
Feb 9, 2012 12:25:42 AM (9 years ago)
Author:
zarvai@inf.u-szeged.hu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v12 v13  
    8181  $ patch -p1 < browser-script.patch
    8282}}}
     83Tested with resworb script hash: 378c7cb835ad7f65ba8b6756c3a05381e861b110.
    8384
    8485Download testfonts (run@host):
     
    157158Make the script runnable and execute it before building inside scratchbox when you need speedup.
    158159
    159 == 1.4. Build QtWebKit ==
     160== 1.4.a. Build QtWebKit in Scratchbox ==
    160161
    161162Login to scratchbox and optionally execute script for icecc (run@host):
     
    202203</div>
    203204}}}
     205
    204206So, follow this instuction that printed (run@sbox):
    205207{{{
    206208  [sbox-HARMATTAN_ARMEL: ~/swork] > export PATH=/scratchbox/users/$USER/home/$USER/swork/browser-scripts/../qt5/qtbase/bin:$PATH
     209}}}
     210
     211The next step is building Qt-Components (run@sbox):
     212{{{
     213  [sbox-HARMATTAN_ARMEL: ~/swork] > browser-scripts/qt-components-build.sh
    207214}}}
    208215
     
    227234</pre></div>
    228235}}}
     236
     237== 1.4.b. Build QtWebKit with Sysroot ==
     238Optionally you can build Qt and WebKit on your host with cross-compiler using sysroot. This method seems to be faster, but you can not use ICECC for this, yet.
     239
     240Download and install QtSDK 1.2 from http://qt.nokia.com/downloads/ (Linux/X11 64-bit).
     241
     242Clear QTDIR, ICECC_VERSION environment variables and remove Qt specific things from PATH.
     243
     244Follow the steps (run@host):
     245{{{
     246  $ browser-scripts/setup-arm-toolchain-bin.sh
     247  $ browser-scripts/resolve-ablosulte-links-in-scratchbox-sysroot.sh
     248  $ browser-scripts/build-sources.sh --scratchbox-cross-compile
     249}}}
     250
     251This will produce qtwebkit-webkit2-dev-builddir-xarmel-m6 build. Don't forget to change your variables to xarmel in your variables in section 3.2.1.
    229252
    230253== 1.5. Updating build environment ==