| 1 | [[PageOutline]] |
| 2 | |
| 3 | = Building the Qt port on MeeGo 1.2 Harmattan with Qt 5 = |
| 4 | |
| 5 | See also [wiki:BuildingQtOnLinux Building QtWebKit on Linux] |
| 6 | |
| 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. |
| 12 | |
| 13 | == Assumptions == |
| 14 | |
| 15 | * Working Scratchbox setup (url??) |
| 16 | * Running N950/N9 with root and scratchbox home directory mounted via NFS |
| 17 | * Present clones of qtbase, qtsvg, qtxmlpatterns and qtdeclarative |
| 18 | |
| 19 | == Build Instructions == |
| 20 | |
| 21 | * Install dependencies: (TODO: test with clean environment!) |
| 22 | * Basic build deps, shared between Qt 5 and 4: {{{fakeroot apt-get build-dep qt4-x11}}} |
| 23 | * Dependencies needed for XCB back-end: {{{fakeroot apt-get install libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm1 libxcb-icccm1-dev libxcb-sync0 libxcb-sync0-dev libxcb-xfixes0-dev}}} |
| 24 | * Ensure the render packages are gone: {{{fakeroot apt-get remove --purge libxcb-render-util0 libxcb-render-util0-dev}}} |
| 25 | * Configure & build qtbase: {{{cd qtbase && configure -nokia-developer -fast}}} followed by {{{make}}} |
| 26 | * Ensure your PATH is up-to-date: {{{cd qtbase && export PATH=$PWD/bin:$PATH}}} |
| 27 | * Build QtSvg, QtXmlPatterns and QtDeclarative (in that order): {{{cd module && qmake -r && make}}} |
| 28 | * ... |
| 29 | |
| 30 | == Current Issues / TODO == |
| 31 | |
| 32 | If you find any issues that you're working on, just add them below :) |
| 33 | |
| 34 | * Qt 5 TODOs: |
| 35 | * Touch Input (xi2) support in Qt 5 for Harmattan (Jocelyn) |
| 36 | * Input method support in Qt 5 for Harmattan (nobody yet, Simon volunteers) |
| 37 | * Most obvious WebKit issues: |
| 38 | * No interaction with page possible when launching MiniBrowser with -touch. Due to broken touch mocking. (Simon) |
| 39 | * Text is funny mis-rendered in MiniBrowser -touch. (up for grabs, suspect Qt 5 scaled-text-with-raster-engine bug) |