Changes between Version 29 and Version 30 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
Feb 16, 2012 3:59:40 AM (10 years ago)
Author:
vestbo@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v29 v30  
    77The easiest way to develop for Harmattan is to cross-compile using a sysroot. The Qt SDK already comes with a Harmattan sysroot and the required ARM toolchain, and we build on top of that to create a sysroot suitable for building Qt5 and WebKit2. Cross-compiling works both on Linux and on Mac OS X.
    88
    9 == 1. Prepare your environment ==
     9== 1.1. Prepare your environment ==
    1010
    1111{{{
     
    1616''Note:'' This base directory is just an example used in this guide. You're free to change where you keep your sources and builds (shadow-builds), as long as you account for that when running the various commands.
    1717
    18 == 2. Download and install the Qt SDK ==
     18== 1.2. Download and install the Qt SDK ==
    1919
    2020Available from  http://qt.nokia.com/downloads/
     
    2222Both Mac OS X and Linux X11/64-bit should work fine.
    2323
    24 == 3. Get some convenience-scripts used in this guide and for development ==
     24== 1.3. Get some convenience-scripts used in this guide and for development ==
    2525
    2626{{{
     
    2828}}}
    2929
    30 == 4. Set up custom MADDE target ==
     30== 1.4. Set up custom MADDE target ==
    3131
    3232{{{
     
    3636This will create a new target based on the original Harmattan target that comes with the QtSDK, but with different names for the ARM-toolchain binaries, and pre-installed packages needed for Qt5 development.
    3737
    38 == 5. Download testfonts ==
     38== 1.5. Download testfonts ==
    3939{{{
    4040  $ git clone git://gitorious.org/qtwebkit/testfonts.git
    4141}}}
    4242
    43 == 6. Get the source of Qt5 and WebKit ==
     43== 1.6. Get the source of Qt5 and WebKit ==
    4444{{{
    4545  $ browser-scripts/clone-sources.sh
     
    5959}}}
    6060
    61 == 7. Create ICECC toolchain (optional) ==
     61== 1.7. Create ICECC toolchain (optional) ==
    6262
    6363If you have multiple workstations configured to use [http://en.opensuse.org/Icecream ICECC], you can speed up building process significantly.
     
    8686Make the script runnable and execute it before building when you need speedup.
    8787
    88 == 8. Build sources ==
     88== 1.8. Build sources ==
    8989
    9090{{{
     
    114114
    115115
    116 == 9. Updating build environment ==
     116== 1.9. Updating build environment ==
    117117If you need to update browser-scripts, run on host:
    118118{{{