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}}} |
| 47 | Inside 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.|| |
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 | | |