Changes between Version 3 and Version 4 of BuildingQtOnSymbian


Ignore:
Timestamp:
Feb 25, 2010 6:50:14 AM (14 years ago)
Author:
jocelyn.turcotte@nokia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnSymbian

    v3 v4  
    88  * Please install the Bison, Flex, ActiveState Perl etc. tools from GnuWin32. See the [BuildingQtOnWindows instructions for building on Windows] where to get these.
    99  * Make sure that the GnuWin32 tools are installed in a path without spaces, i.e. not {{{Program Files\GnuWin32}}} but for example {{{c:\GnuWin32}}}.
    10   * You need to have {{{\GnuWin32\bin}}} and {{{\Perl64\bin}}} (if that's where your Perl is installed) in your {{{%PATH%}}}.
     10  * You need to have {{{\GnuWin32\bin}}} and {{{\Perl64\bin}}} (if that's where your Perl is installed) in your {{{%PATH%}}} before the S60 SDK tools path.
    1111  * In addition you need to have a native Windows compiler in your PATH, i.e. MSVC or MingW.
    1212  * You can download Raptor from here: http://developer.symbian.org/wiki/index.php/Symbian_Build_System_v2
     
    1414== Building Qt ==
    1515
    16 If you haven't done so already, try these instructions:
     16If you haven't done so already, try these instructions for a release build:
    1717
    1818  * Clone Qt: {{{git clone git://gitorious.org/qt/qt.git qt-4.6}}}
     
    2424  * Build for arm with 8 cores: {{{sbs -c armv6_urel -j8}}}
    2525  * 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}}}
    2627  * Put the {{{qt-4.6\bin}}} directory in your {{{%PATH%}}}.
    2728
    28 == Building WebKit ==
     29== Building WebKit for release ==
    2930
    3031  * Build the generated files and set up the build system:
     
    3536    * Patch capabilities: {{{perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg release-armv6}}}
    3637    * Create the sis file: {{{make sis}}}
    37     * Drag'n'drop the resulting .sis file onto Nokia PC Suite to install it on the phone
     38    * 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.
     39
     40== Building WebKit for debug ==
     41  * Almost the same as above:
     42    * You need to have''' Qt built for debug''' as well
     43    * {{{cd where-your-webkit-sources-are}}}
     44    * {{{perl WebKitTools\Scripts\build-webkit --qt --symbian}}} '''--debug'''
     45    * Run the script {{{debug-webkit-patch-sbsv2.py}}} from git://gitorious.org/qtwebkit/tools.git [[BR]] This is necessary because the quantity of debug information in WebKit makes armlink fail. This script workarounds the problem.
     46    * {{{sbs -c armv6_u}}}'''deb'''{{{ -j8}}}
     47    * {{{perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg }}}'''debug'''{{{-armv6}}}
     48    * {{{make sis}}}