I have my own Protracker module player written for Maemo5. I used Qt because I am familiar with it and like it. But Maemo5 makes simple things harder…
First thing: which version of Qt? Yes — there are two of them:
- 4.5.3 which was ported by community, does not follow Maemo5 look & feel but is present on each Nokia N900 by default
- 4.6 ported by Nokia, follows Maemo5 look & feel as much as possible but present only in extras-devel repository
I used Qt 4.6 because of proper look and working Phonon.
Second problem: moving API. Ok, I know: it is extras-devel so not safe for devices but why I have to rebuild application after each “apt-get update/upgrade” cycle? First it was removal of QMaemo5KineticScroller, then rotation code changed.
Rotation is 3rd problem. In recent packages there is support for automatic rotation without any code other then setting window attribute for it. It is even documented. But it does not work — even in official example. From one commit to qt/maemo5 repo I got a feeling that automatic rotation needs to wait for next firmware update :(
Good thing is that my application is small so adapting to changes takes small amount of time. And I hope that PR1.2 will finally give working Qt without many changes.
All rights reserved © Marcin Juszkiewicz
Qt under Maemo is pain to develop with was originally posted on Marcin Juszkiewicz website
Related posts: