Changes between Version 27 and Version 28 of SettingUpDevelopmentEnvironmentForN9
- Timestamp:
- Feb 16, 2012, 3:56:10 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SettingUpDevelopmentEnvironmentForN9
v27 v28 7 7 The 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. 8 8 9 1. Prepare your environment 9 == 1. Prepare your environment == 10 10 11 11 {{{ … … 16 16 ''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. 17 17 18 2. Download and install the Qt SDK from http://qt.nokia.com/downloads/ 18 == 2. Download and install the Qt SDK from http://qt.nokia.com/downloads/ == 19 19 20 20 Both Mac OS X and Linux X11/64-bit should work fine. 21 21 22 3. Get some convenience-scripts used in this guide and for development 22 == 3. Get some convenience-scripts used in this guide and for development == 23 23 24 24 {{{ … … 26 26 }}} 27 27 28 4. Set up custom MADDE target 28 == 4. Set up custom MADDE target == 29 29 30 30 {{{ … … 34 34 This 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. 35 35 36 5. Download testfonts 36 == 5. Download testfonts == 37 37 {{{ 38 38 $ git clone git://gitorious.org/qtwebkit/testfonts.git 39 39 }}} 40 40 41 6. Get the source of Qt5 and WebKit 41 == 6. Get the source of Qt5 and WebKit == 42 42 {{{ 43 43 $ browser-scripts/clone-sources.sh … … 57 57 }}} 58 58 59 5. Create ICECC toolchain (optional) 59 == 5. Create ICECC toolchain (optional) == 60 60 61 61 If you have multiple workstations configured to use [http://en.opensuse.org/Icecream ICECC], you can speed up building process significantly. … … 84 84 Make the script runnable and execute it before building when you need speedup. 85 85 86 7. Build Qt5, QtComponents, and QtWebKit 86 == 7. Build sources == 87 87 88 88 {{{ … … 91 91 $ browser-scripts/build-sources.sh --cross-compile 92 92 }}} 93 94 This will build Qt5, QtComponents, and QtWebKit. 93 95 94 96 If everything is right you should get similar result: … … 102 104 ===========================================================</pre></div> 103 105 }}} 106 107 If you just want to build Qt5, replace the last step with: 108 109 {{{ 110 $ browser-scripts/qt5-build.sh --cross-compile 111 }}} 112 104 113 105 114 == 1.1 Updating build environment == … … 409 418 [Pipe 3] Finishing in error state with status 1 410 419 }}} 411