Qt everywhere – Qt/s60 demos on Maemo

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 :)

Digital clock


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 : ) )

Weather info


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).

7 Responses

  1. Kaitsu Says:

    “..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!

  2. timsamoff Says:

    Thanks, Valério! This is the kind of stuff that makes me so excited. 😀

  3. admin Says:

    @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 :) .

  4. Ariya Says:

    Cool stuff! :)

  5. Примеры, созданные на Qt для S60 работают на Maemo | The Tablet Blog Says:

    […] Источник:  http://www.valeriovalerio.org […]

  6. Ariya Says:

    I committed the fix (see b68a35bb) so that the weather info builds with Qt 4.4.

  7. Примеры, созданные на Qt для S60 работают на Maemo | Обзор новостей рынка портативной техники Says:

    […] Источник:  http://www.valeriovalerio.org […]