Qt5-Maemo5/Development
Line 1: | Line 1: | ||
Prerequisites: | Prerequisites: | ||
* [[MADDE]] | * [[MADDE]] | ||
- | * Xlib-xcb.h and libX11-xcb.so build from http://maemo.org/packages/source/view/fremantle_sdk_free_source/libx11/1.1.99.6+0m5 (build with --with-xcb) moved to ${MADDEROOT} | + | * Xlib-xcb.h and libX11-xcb.so build from http://maemo.org/packages/source/view/fremantle_sdk_free_source/libx11/1.1.99.6+0m5 (build with --with-xcb) moved to ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/X11/ (/usr/lib resp.) |
If you want to help porting Qt5 to Maemo5 do: | If you want to help porting Qt5 to Maemo5 do: | ||
- | MADDEROOT=/opt/QtSDK/Maemo | + | MADDEROOT=/opt/QtSDK/Maemo/4.6.2 |
git clone git://gitorious.org/+qt5-maemo5/qt/qt5-maemo5.git | git clone git://gitorious.org/+qt5-maemo5/qt/qt5-maemo5.git | ||
cd qt5-maemo5 && git remote set-url --push origin git@gitorious.org:+qt5-maemo5/qt | cd qt5-maemo5 && git remote set-url --push origin git@gitorious.org:+qt5-maemo5/qt | ||
Line 13: | Line 13: | ||
./init-repository -f | ./init-repository -f | ||
#-sysroots redirects everything to a path under ${MADDEROOT} | #-sysroots redirects everything to a path under ${MADDEROOT} | ||
- | ln -s `pwd` ${MADDEROOT} | + | ln -s `pwd` ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim`pwd` |
Now it's time to configure: | Now it's time to configure: | ||
#change if your host is not x86_64 | #change if your host is not x86_64 | ||
- | ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license -device linux-maemo-n900-g++ -device-option CROSS_COMPILE=${MADDEROOT} | + | ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license -device linux-maemo-n900-g++ -device-option CROSS_COMPILE=${MADDEROOT}/toolchains/arm-2007q3-51sb6-gdb71-arm-none-linux-gnueabi_linux_x86_64/bin/arm-none-linux-gnueabi- -sysroot ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim -qt-xcb -make libs -prefix /opt/qt5 |
make module-qtbase module-qtdeclarative | make module-qtbase module-qtdeclarative | ||
If you like to commit to the repository, create an account on gitorious.org and ask in this thread: http://talk.maemo.org/showthread.php?t=84782 | If you like to commit to the repository, create an account on gitorious.org and ask in this thread: http://talk.maemo.org/showthread.php?t=84782 |
Revision as of 21:40, 12 February 2013
Prerequisites:
- MADDE
- Xlib-xcb.h and libX11-xcb.so build from http://maemo.org/packages/source/view/fremantle_sdk_free_source/libx11/1.1.99.6+0m5 (build with --with-xcb) moved to ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/X11/ (/usr/lib resp.)
If you want to help porting Qt5 to Maemo5 do:
MADDEROOT=/opt/QtSDK/Maemo/4.6.2 git clone git://gitorious.org/+qt5-maemo5/qt/qt5-maemo5.git cd qt5-maemo5 && git remote set-url --push origin git@gitorious.org:+qt5-maemo5/qt checkout maemo5 git clone git://gitorious.org/+qt5-maemo5/qt/qt5-maemo5-qtbase.git qtbase git config --add submodule.qtbase.url git://gitorious.org/+qt5-maemo5/qt/qt5-maemo5-qtbase.git cd qtbase && checkout maemo5 && git remote set-url --push origin git@gitorious.org:+qt5-maemo5/qt/qt5-maemo5-qtbase.git && cd .. ./init-repository -f #-sysroots redirects everything to a path under ${MADDEROOT} ln -s `pwd` ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim`pwd`
Now it's time to configure:
#change if your host is not x86_64 ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license -device linux-maemo-n900-g++ -device-option CROSS_COMPILE=${MADDEROOT}/toolchains/arm-2007q3-51sb6-gdb71-arm-none-linux-gnueabi_linux_x86_64/bin/arm-none-linux-gnueabi- -sysroot ${MADDEROOT}/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim -qt-xcb -make libs -prefix /opt/qt5
make module-qtbase module-qtdeclarative
If you like to commit to the repository, create an account on gitorious.org and ask in this thread: http://talk.maemo.org/showthread.php?t=84782