Howto startup with Maemo and Qt 4.6 – Step1: Setup

As a Java developer it was not easy for me to find the right entry point for developing c++, using the trend-setting Qt 4.6 environment and having a cute ide with rapid prototyping capabilities. After a little bit of reading and lots of trials and errors i found a way for me that worked.
First of all, if you use Kubuntu 10.04 like me, you have to edit your /etc/sysctl.conf and add the following line, otherwise the maemo-sdk installer will fail to install:

#scratbox maemo sdk fix
vm.mmap_min_addr = 0

I installed the following tools in the given order:
SDK: For the N900 Maemo device a scratchbox with additional Nokia binaries is freely available. I Installed scratchbox and the nokia sdk by following the instructions on maemo.org: http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation
IDE: esbox  is a complete IDE based on Eclipse. With esbox you are able to develop, run your code in an „emulator“ or on your mobile device, and build complete .deb packages. The completely packaged archived did it for me. Download and unzip the archive to any location that you like: http://esbox.garage.maemo.org/2nd_edition/installation_product.html
Qt IDE integration: a graphical ui designer is available. With Qt Designer Eclipse Integration you are able to drag and drop Qt widgets to your ui and preview your masks. Although Qt Designer is not specially developed for Maemo, it does a good job and you get good and fast results. Just download the archive and copy the content into the plugin directory of your esbox installation : http://qt.nokia.com/developer/eclipse-integration
In the next post i will describe howto prepare your ide for Qt developing.