MADDE + Qt 4.7
Maemo 5 PR 1.2 is out with Qt 4.6.2 installed, so developers now can create applications with Qt 4.6 using either the official scratchbox based SDK or MADDE (remember, “MADDE is currently a technology preview.”)
BUT… there are people who prefer “Livin’ on the Edge“. If you are one of those and already want/need to develop with Qt 4.7 (not released yet!) for Maemo 5, using MADDE to build your applications / packages, here is an update to the procedure first published by the troll Harald Fernengel (AKA harryF). Although the title says “on MacOS X”, the steps also work on Linux.
Step-by-step:
- Install MADDE. Download it here.
- If you are not using a Debian based distro, you need to install the “Tools for Debian Packages” package of your distribution (e.g. “deb” on openSUSE, sys-apps/debianutils on Gentoo).
- Download the script
fetch-qt4.7.0~git20100520-0maemo1.shfetch-qt4.7.0~git20100614-0maemo1.sh . This script downloads the libqt4-experimental packages from repository.maemo.org and installs then in your MADDE – Before you run the script, remember to adjust the MADDE_PATH variable according to the path you installed MADDE. - Download
qt4-maemo5-qt4.7.0~git20100520-0maemo1.tar.gzqt4-maemo5-qt4.7.0~git20100614-0maemo1.tar.gz. It contains the Qt tools compiled for the correspondent version, configured for cross compiling. Extract to /opt/qt4-maemo5. - Check if mad is in your PATH.
To build an application using your fresh environment, run /opt/qt4-maemo5/bin/qmake && make .
If you succeeded in the setup process, this should result in a armel binary ready to run on N900. To generate a deb package, you can use the tools offered by MADDE to build a skeleton of debian package and so on.
To run your application on N900, install libqt4-experimental-* packages. If QtQuick (QML) is part of your plans, qmlviewer is in the package qt4-experimental-declarative-qmlviewer .
UPDATE (2010-06-15): For newer (or older) versions, check http://anselmolsm.org/public/qt/madde-qt47/
Popularity: 72% [?]

I’m a bit confused, how is there a preview technology “Maemo Application Development and Debugging Environment” when Maemo is retiring. Will it become Meego Application Development and Debugging Environment? Or is Maemo continuing? Or???
Quim Gil on MeeGo-dev mailing list:
“http://wiki.maemo.org/MADDE
Coming soon to MeeGo and its developer documentation. Good that MeeGo
”
also starts with M so we don’t need to rename anything.
http://lists.meego.com/pipermail/meego-dev/2010-May/002062.html
@anselmolsm, thanks. AKA RTFWiki
I mean RTFML
There is an update for libqt4-experimental packages. I’ll update the script ASAP (and try to make it smarter too)
Anselmo!
Aqui é Samara do Betim Open Source, da organização do FSLBH/Betim.
Você esteve no FSLBH em Betim, mas acredito que nem pudemos nos conhecer. Preciso que entre em contato comigo, por gentileza. Agradeço!