Changes between Version 55 and Version 56 of BuildingQt5OnHarmattan


Ignore:
Timestamp:
Dec 9, 2011, 8:50:57 AM (13 years ago)
Author:
jocelyn.turcotte@nokia.com
Comment:

Write down some way that works with current qt5 master.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQt5OnHarmattan

    v55 v56  
    4848   ||{{{export -n QTDIR}}}||To unset QTDIR. Or make sure that QTDIR points to your qt5/qtbase directory.||
    4949   ||{{{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.||
     50   ||{{{sed 's/linux-g++-maemo://' qtbase/src/plugins/platforms/xcb/xcb.pro}}}||{{{-xplatform linux-g++-maemo}}} was used before to get the Harmattan-specific XInput2 touch support. But now xplatform doesn't work anymore since qtbase breaks the old 3.5 host compiler in scratchbox, so we have to enable it by hand. We should have some kind of auto-detection but we have to try cross-compiling + sysrooting properly before and find a mechanism that fits properly with this mode once we have something stable.||
     51   ||{{{./configure -nokia-developer -fast -force-pkg-config -nomake tests -nomake examples}}}||||
    5152   ||{{{make}}}||From the toplevel qt5 directory to build all modules in one shot.||
    5253   ||{{{export PATH=$PWD/qtbase/bin:$PATH}}}||Ensure your PATH is up-to-date to use the qt5 qmake instead of the default one.||