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.sh fetch-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.gz qt4-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% [?]

Related Posts

This entry was written by anselmolsm , posted on Thursday June 10 2010at 12:06 am , filed under Development, GPSL, INdT, KDE, Maemo, Qt Labs Americas en, en and tagged , , , , , . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

6 Responses to “MADDE + Qt 4.7”

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>