Editing Qt5-Maemo5/Development
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 13: | Line 13: | ||
=== Prepare your build environment === | === Prepare your build environment === | ||
+ | GITROOT=`pwd`/qt5-maemo5/ | ||
+ | USER=YourScratchboxUserName | ||
+ | TARGET=FREMANTLE_ARMEL_GCC472 | ||
+ | COMPILER=linaro-4.7-2012.07-fremantle-armv7a | ||
+ | #make some dynamic links relative | ||
+ | rm /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libdl.so | ||
+ | ln -s ../../libdl.so.2 /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libdl.so | ||
+ | rm /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libm.so | ||
+ | ln -s ../../libm.so.6 /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libm.so | ||
+ | #make our X11 copy Xc11 also relative | ||
+ | rm /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libXc11.so.6.2.0 | ||
+ | ln -s ../../opt/maemo/usr/lib/libXc11.so.6.2.0 /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libXc11.so.6.2.0 | ||
+ | rm /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libXc11-xcb.so.1.0.0 | ||
+ | ln -s ../../opt/maemo/usr/lib/libXc11-xcb.so.1.0.0 /scratchbox/users/${USER}/targets/${TARGET}/usr/lib/libXc11-xcb.so.1.0.0 | ||
#clone the repo | #clone the repo | ||
git clone https://gitlab.com/qt5-maemo5/qt5-maemo5.git | git clone https://gitlab.com/qt5-maemo5/qt5-maemo5.git | ||
Line 24: | Line 38: | ||
#if you like to use the Thumb2 instructions check for -mthumb in QMAKE_CFLAGS | #if you like to use the Thumb2 instructions check for -mthumb in QMAKE_CFLAGS | ||
vim qtbase/mkspecs/devices/linux-maemo-n900-g++/qmake.conf | vim qtbase/mkspecs/devices/linux-maemo-n900-g++/qmake.conf | ||
+ | |||
=== Now it's time to configure === | === Now it's time to configure === |
Learn more about Contributing to the wiki.