Changes between Version 10 and Version 11 of BuildingQtOnSymbian
- Timestamp:
- Jul 1, 2010, 8:05:34 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnSymbian
v10 v11 24 24 * Build for arm with 8 cores: {{{sbs -c armv6_urel -j8}}} 25 25 * Get a cup of tea/coffee. 26 * Patch capabilities and generate the sis package:[[BR]]{{{cd src/s60installs}}}[[BR]]{{{perl ..\..\bin\patch_capabilities.pl Qt_template.pkg release-armv6}}}[[BR]]{{{make sis}}}26 * [OPTIONAL] Patch capabilities and generate the sis package:[[BR]]{{{cd src/s60installs}}}[[BR]]{{{perl ..\..\bin\patch_capabilities.pl Qt_template.pkg release-armv6}}}[[BR]]{{{make sis}}} 27 27 * Put the {{{qt-4.6\bin}}} directory in your {{{%PATH%}}}. 28 28 … … 31 31 * Build the generated files and set up the build system: 32 32 * {{{cd where-your-webkit-sources-are}}} 33 * {{{perl WebKitTools\Scripts\build-webkit --qt --symbian }}}33 * {{{perl WebKitTools\Scripts\build-webkit --qt --symbian CONFIG-=def_files}}} 34 34 * If you're building the trunk where the export def file for Symbian is not always up-to-date you need to pass CONFIG-=def_files as an argument to build-webkit as well 35 35 * {{{cd WebCore}}} 36 * Build for hardware: {{{sbs -c armv6_urel -j8 }}}37 * Patch capabilities: {{{perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg release-armv6}}}36 * Build for hardware: {{{sbs -c armv6_urel -j8 --no-depend-generate}}} 37 * [OPTIONAL] Patch capabilities: {{{perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg release-armv6}}} 38 38 * Create the sis file: {{{make sis}}} 39 39 * Install it on the phone: {{{"C:\Program Files\Nokia\Nokia PC Suite 7\ApplicationInstaller.exe" %CD%\qtwebkit.sis}}}[[BR]]You can also Drag'n'drop the resulting .sis file onto Nokia PC Suite to install it. … … 45 45 * You need to have''' Qt built for debug''' as well 46 46 * {{{cd where-your-webkit-sources-are}}} 47 * {{{perl WebKitTools\Scripts\build-webkit --qt --symbian}}} '''--debug'''47 * {{{perl WebKitTools\Scripts\build-webkit --qt --symbian}}} {{{CONFIG-=def_files}}} '''--debug''' 48 48 * Run the script {{{debug-webkit-patch-sbsv2.py}}} from [git://gitorious.org/qtwebkit/tools.git]. It was tested to work at least with Python 2.6[[BR]] This is necessary because the quantity of debug information in WebKit makes armlink fail. This script works around the problem. 49 * {{{sbs -c armv6_u}}}'''deb'''{{{ -j8 }}}50 * {{{ perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg }}}'''debug'''{{{-armv6}}}49 * {{{sbs -c armv6_u}}}'''deb'''{{{ -j8 --no-depend-generate}}} 50 * {{{[OPTIONAL]perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg }}}'''debug'''{{{-armv6}}} 51 51 * {{{make sis}}} 52 52 53 == Running a Browser on device/emulator ==54 If you have problems starting your favourite browser (Anomaly/QtLauncher) on Symbian HW, here are some choices to remember:55 * Use '''QtLauncher''' that ships inside Webkit.org trunk to build your test browser. You don't have to worry about exports and .DEF files in this case.56 * To use '''Anomaly''' from $QTSRC/demos/embedded/, you may have to update the .DEF files known to the Qt installation to make Anomaly work OK. [[BR]] To do so , recompile QtWebkit.dll by passing an additional argument to the {{{build-webkit}}} script and re-deploy to device. [[BR]] {{{--qmake-arg="CONFIG+=def_files"}}}