Changes between Version 3 and Version 4 of BuildingQtOnSymbian
- Timestamp:
- Feb 25, 2010, 6:50:14 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnSymbian
v3 v4 8 8 * Please install the Bison, Flex, ActiveState Perl etc. tools from GnuWin32. See the [BuildingQtOnWindows instructions for building on Windows] where to get these. 9 9 * 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. 11 11 * In addition you need to have a native Windows compiler in your PATH, i.e. MSVC or MingW. 12 12 * You can download Raptor from here: http://developer.symbian.org/wiki/index.php/Symbian_Build_System_v2 … … 14 14 == Building Qt == 15 15 16 If you haven't done so already, try these instructions :16 If you haven't done so already, try these instructions for a release build: 17 17 18 18 * Clone Qt: {{{git clone git://gitorious.org/qt/qt.git qt-4.6}}} … … 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 27 * Put the {{{qt-4.6\bin}}} directory in your {{{%PATH%}}}. 27 28 28 == Building WebKit ==29 == Building WebKit for release == 29 30 30 31 * Build the generated files and set up the build system: … … 35 36 * Patch capabilities: {{{perl %QTDIR%\bin\patch_capabilities.pl QtWebKit_template.pkg release-armv6}}} 36 37 * 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}}}