Qt4.6 for Maemo 5

I just created some tar.gz packages containing a compiled Qt4.6 for Maemo 5.

Package for N900
Package for the final Maemo 5 Scratchbox SDK

The packages are compiled optified already, so untarring happens to /home/opt/maemo/usr/*

Installation Instructions
N900:
(this will also remove the ActiveSync stuff when you have the Maemo Summit N900 software and you cannot reinstall this currently, so if you need ActiveSync: do not continue)
1. Transfer the *n900.tar.gz to you device
2. Enable the extras repo
3. Install rootsh
4. start xterm
5. ’sudo gainroot’
6. ‘apt-get remove libqt4*’
6. ‘cd /’
7. ‘tar xzf .’
8. ‘vi /etc/profile’
9. Edit file to have ‘export PATH=”/opt/maemo/usr/bin:/usr/bin:/bin/$PATH”‘ & ‘export LD_LIBRARY_PATH=”/opt/maemo/usr/lib:$LD_LIBRARY_PATH”‘
10. Switch off and switch on device.
11. In xterm you can now start something like ‘designer’ (I left some stuff in there :-$)

Scratchbox:
1. copy the file to a location reachable from within your FREMANTLE_ARMEL target.
2. ‘cd /’
3. ‘fakeroot tar xzf .’
4. ‘vi ~/.bashrc’
5. Edit file to have ‘export PATH=”/opt/maemo/usr/bin:/usr/bin:/bin/$PATH”‘ & ‘export LD_LIBRARY_PATH=”/opt/maemo/usr/lib:$LD_LIBRARY_PATH”‘
6. Log-out and re-log-in into your scratchbox (or ’source ~/.bashrc’)

(I have no idea how to create Debian packages and am currently mostly on Windows, I compiled all of this on my external HDD, so forgive me the stupid packaging method)

The packages on N900 still contain ‘qmake’ but this doesn’t work since it is compiled for x86.

And then an image of something actually compiled for the device:

Pong for Uni wall running on N900 with Qt4.6

Pong for Uni wall running on N900 with Qt4.6

This app will run on my University’s LED-wall (3×13 meters big) controlled by my N900 during the week, I’ll make a video!

This is what it looks like now:

6 Responses to “Qt4.6 for Maemo 5”

  1. harryF says:

    neato, but yes, the installation instructions _are_ interesting :) We’re currently in the process to provide real installable deb packages, but there are some still some quirks. If those are solved, dpkg-buildpackage is your friend :)

  2. Thiago Macieira says:

    As Harry said, we’re in the process of creating the packages. You’ve got most of the problems identified. For example, removal of ActiveSync is not an option, so we’re trying to find a way around it.

  3. Jeffery says:

    Hi,
    Just wondering why the packages here (and in Maemo Extras-devel) have an i386 qmake binary. I built them and packaged them properly in Scratchbox, and they seem to work fine. If you are (or know) the maintainer for the Extras-devel package, do you want me to upload mine somewhere?

    • Casper van Donderen says:

      You can probably contact the packager via his maemo.org account.

      and just FYi: my packages do contain the armel QMake, I compile on-device with these packages

  4. Jeffery says:

    > The packages on N900 still contain ‘qmake’ but this doesn’t work since it is compiled for x86.

    I misread that, sorry. I couldn’t find an address for the packager on his account, but thanks anyway.

Leave a Reply