After run the cool Qt/s60 demos produced by Ariya on my phone, I decided to test if Qt is really cross-platform
. Well, I’ve to say that I’m really impressed, the demos run smoothly on my desktop and as you can see below on my n810
http://www.youtube.com/watch?v=OuLySbZEcOk
Runs out of the box, I only made a small change in order to assign the device volume buttons to the three animation effects: Slide, Flip, and Rotate, because the menu doesn’t work, probably need some integration with hildon (I’m a Qt noob : ) )
http://www.youtube.com/watch?v=XB04orP25iM
An propriety used in this demo (setOpacity) only exist in Qt 4.5 onwards, and the available version on the maemo repositories is the 4.4, so I commented some lines of code, my changes led to a bug as you can see in the video, the main weather state icon isn’t correctly updated. Note that the demo runs out of the box without any change, but due to the old Qt version used, the animations aren’t shown without a small fix.
The third Qt/s60 demo requires more changes, because of the use of input methods, let’s hope that everything run out of the box in Fremantle.
More information and the videos of the demos running on an s60 device: http://ariya.blogspot.com/2009/07/like-startling-sign-that-fate-had.html
Update: Qt 4.5.x is actually available for maemo4 under the extras-devel repository, see comment below (Thanks Kaitsu).

July 28th, 2009 at 5:32 pm
“..and the available version on the maemo repositories is the 4.4…”
Just noting that Qt 4.5.x maemo packages are available, extras-devel even has version based on latest Qt 4.5.2: http://repository.maemo.org/extras-devel/pool/diablo/free/q/qt4-x11/
But looking good and smooth in N810 also!
July 28th, 2009 at 8:39 pm
Thanks, Valério! This is the kind of stuff that makes me so excited.
July 28th, 2009 at 11:34 pm
@Kaitsu – thanks for the correction, I always forget that extras-devel exists
. A lot of stuff there break some popular apps, so I’ve the repo disabled
.
July 29th, 2009 at 6:43 am
Cool stuff!
July 29th, 2009 at 8:30 pm
[...] Источник: http://www.valeriovalerio.org [...]
July 30th, 2009 at 8:46 am
I committed the fix (see b68a35bb) so that the weather info builds with Qt 4.4.
August 4th, 2009 at 3:04 pm
[...] Источник: http://www.valeriovalerio.org [...]