Qt 4.6 for Maemo 5 development, now also on Windows

Following the hacky Mac OS X MADDE support, we've finally managed to bring the Qt 4.6 beta for Maemo 5 also to Windows developers.

Usual disclaimer: Use at own risk. This is a temporary and unsupported measure until full Qt 4.6 support is added to MADDE and Qt Creator.

The following assumes that MADDE was installed to C:MADDE.6.14. If not, please adjust the paths in the instructions below.

  1. Install MADDE
  2. Download qt4-maemo5-windows-20100210.tar.gz to C:MADDE.6.14
  3. Open a MADDE shell and use the following commands to unpack Qt 4.6 Beta into the fremantle sysroot:

    cd /sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453
    mkdir opt
    cd opt
    tar -xzvf /qt4-maemo5-windows-20100210.tar.gz

Now, go to your favorite project and type /sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/opt/qt4-maemo5/bin/qmake and make. Hint: If you use qmake a lot, you can copy qmake.exe to a more convenient location, or set your $PATH environment variable to save some typing.

Happy MADDE'ing :)


Blog Topics:

Comments

Commenting for this post has ended.

?
Donald Carr
0 points
185 months ago

Good man, will be interesting to see whether any other OS users raise their trumpets and toot. BSD/OpenSolaris freaks are a relatively rare breed these days, Mac ate their packed lunch.

?
Yoris
0 points
185 months ago

Hello, we can't download MADDE.
Thank for correct it.

?
Alessandro
0 points
185 months ago

@Yoris: Did you try here? http://tablets-dev.nokia.co...
Maybe, the download page was just inaccessible for a moment.

?
tester
0 points
185 months ago

Hi, this is great. But when I do this, I cannon get include to work. Liblocation and glib etc.. Not working :(

?
paul_zn
0 points
184 months ago

Hi. Tried this. Your link to the Qt beta does not work, however. So I've got it from http://chaos.troll.no/~hara... instead. Followed your instructions above, but when executing the qmake.exe, I get error QMAKESPEC has not been set, so configuration cannot be deduced. Sorry I'm a Qt newbie though.

?
paul_zn
0 points
184 months ago

Hi. Tried this. Your link to the Qt beta does not work, however. So I've got it from http://chaos.troll.no/~hara... instead. Followed your instructions above, but when executing the qmake.exe, I get error QMAKESPEC has not been set, so configuration cannot be deduced. Sorry I'm a Qt newbie though..

?
Bratag
0 points
184 months ago

Any idea how to get this to work with qtcreator. I have tried adding it through tools but it does not want to rebuild. Would be great especially now we can use MADDE+qtcreator

?
Bratag
0 points
184 months ago

Any way to make this work with qtcreator - would be very benificial especially considering its ties to MADDE and the device now

?
polyvertex
0 points
183 months ago

Hi, many thanks for this !

PS : To have it working, I had to reinstall MADDE to the default install directory (i.e. : C:MADDE.6.14), because the new qmake complained about missing QMAKESPEC variable (paths seem to be hard-coded in an absolute fashion). Works well now :)

?
Venemo
0 points
182 months ago

When specifying the qmake.exe from this download to Qt Creator to use, it says "Qt version is not installed, please run make install". Could you please tell me how to work around it?