Changes between Version 54 and Version 55 of BuildingQt5OnHarmattan


Ignore:
Timestamp:
Nov 30, 2011 8:41:40 AM (10 years ago)
Author:
jocelyn.turcotte@nokia.com
Comment:

Add the V8 snapshot build error workaround and remove obsolete information.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQt5OnHarmattan

    v54 v55  
    55See also [wiki:BuildingQtOnLinux Building QtWebKit on Linux]
    66
    7 This page as well as the attempt of achieving this build is work in progress. It's also our TODO list to get there.
    8 
    9 == Goal ==
    10 
    11 The goal is to get WebKit trunk running on the N9/N950, to a state where it can be developed sensibly.
     7This page, as well as the attempt of achieving this build, is work in progress.
    128
    139== Assumptions ==
     
    4541   * {{{./configure ......}}}
    4642
     43== Build Instructions for Qt ==
     44
    4745Note: '''DO NOT USE SHADOW BUILDS OF QT (MODULES) AT THE MOMENT'''.
    4846
    49 == Build Instructions for Qt ==
    50 
    51 Inside Scratchbox:
    52    * '''unset QTDIR'''
    53    * Run configure in the qt5 directory: {{{./configure -nokia-developer -fast -platform unsupported/linux-host-g++ -xplatform linux-g++-maemo -force-pkg-config -nomake tests -nomake examples}}}
    54    * And run {{{make}}} from the toplevel qt5 directory to build all modules in one shot.
    55    * Ensure your PATH is up-to-date: {{{export PATH=$PWD/qtbase/bin:$PATH}}}
     47Inside Scratchbox in the {{{qt5}}} directory:
     48   ||{{{export -n QTDIR}}}||To unset QTDIR. Or make sure that QTDIR points to your qt5/qtbase directory.||
     49   ||{{{sed -i 's/CFG_V8SNAPSHOT=auto/CFG_V8SNAPSHOT=no/' qtbase/configure}}}||Works around {{{make: *** [generated-debug/snapshot.cpp] Error 126}}} caused by a crash of qemu in scratchbox. There is no configure option as this should not be needed. Let's see if we need one or if we start building outside of scratchbox with a sysroot instead.||
     50   ||{{{./configure -nokia-developer -fast -platform unsupported/linux-host-g++ -xplatform linux-g++-maemo -force-pkg-config -nomake tests -nomake examples}}}||Try without the "-platform [...] -xplatform [...]" options if it doesn't work. It enabled compiling qmake with the host compiler in scratchbox to avoid running qmake in qemu but might cause build error since it's gcc 3.5.||
     51   ||{{{make}}}||From the toplevel qt5 directory to build all modules in one shot.||
     52   ||{{{export PATH=$PWD/qtbase/bin:$PATH}}}||Ensure your PATH is up-to-date to use the qt5 qmake instead of the default one.||
    5653
    5754== Build WebKit ==
    5855
    5956   * {{{perl Tools/Scripts/build-webkit --qt --release --no-3d-canvas --qmakearg="CONFIG+=use_qt_mobile_theme"}}}
    60 
    61 Note: The build error referring to a missing listBoxSelectItem function should be fixed after r98557.
    6257
    6358== Install dependencies on the device ==
     
    8075dpkg -i *
    8176}}}
    82 
    83 == Current Issues / TODO ==
    84 
    85 If you find any issues that you're working on, just add them below :)
    86 
    87    * Support for synthetic mouse clicks when tapping. Needed to activate links and transfer focus (for any input method related work)
    88 
    89 === Done ===
    90    * Qt 5 TODOs:
    91       * Build issue with the -platform/-xplatform switch and fontconfig/freetype (Simon).
    92       * No interaction with page possible when launching MiniBrowser with -touch. Due to broken touch mocking. (Simon)
    93       * Text is funny mis-rendered in MiniBrowser -touch. (Fixed, pending review/inclusion in qtbase. Patch at http://paste.kde.org/134605/ )
    94       * Touch Input (xi2) support in Qt 5 for Harmattan (Jocelyn. Fixed in qtbase master)
    95       * Input method support in Qt 5 for Harmattan
    96    * Most obvious WebKit issues:
    97       * MiniBrowser doesn't show any web content on Harmattan (Jocelyn. Fixed in qtbase master)
    98    * Rewrite MiniBrowser in QML
    99    * Figure out "kinetic" scrolling (pending QScroller decision)
    100