Harald Fernengel
Qt
Declarative UI
 in Qt, Declarative UI
 on Thursday, December 17, 2009 @ 20:59

Recently, Qt Declarative for Qt 4.6.0 got released. We got a lot of requests for Maemo 5 support (well - some people just wanted to play the SameGame on their N900 ;) ). And voilĂ  - declarative hit Maemo’s extras-devel repository. Obligatory screenshot:

Qt Declarative SameGame

Currently, the following packages are available:

  • libqt4-maemo5-declarative: The QtDeclarative library
  • libqt4-maemo5-declarative-dev: The development package, contains the headers for QtDeclarative
  • libqt4-maemo5-declarative-dbg: The debugging symbols, for more meaningful backtraces
  • qt4-maemo5-declarative-qmlviewer: The “player” for QML based apps
  • qt4-maemo5-samegame: The SameGame demo

To just get the SameGame, all you need to do is

apt-get install qt4-maemo5-samegame

(provided that you enabled the extras-devel repository). And the neatest thing - with the N900’s text editor, you can program your own QML applications directly on the phone. Launch them from the xterm with /opt/qt4-maemo5/bin/qmlviewer ./myapp.qml

No need to stop hacking just because space is too constraint to get out your laptop :)

Obligatory note: Qt 4 for Maemo 5 is still in tech preview status, reports about molten N900s will be met with a compassionate “Told you”.

8 Responses to “Qt Declarative for Maemo 5”

 on Thursday, December 17, 2009 @ 21:25

Now i want an N900 even more! The sweetness of a well done SameGame… nicely ;)

» Posted by Stefan
 on Thursday, December 17, 2009 @ 23:32

So we at kdegames have to rewrite all our games yet again? *sigh* ;-)

» Posted by Magnus L
 on Friday, December 18, 2009 @ 00:45

Can I develop Qt 4.6 applications for Maemo 5 on WinXP today? I can’t seem to find any info about that…

» Posted by SABROG
 on Friday, December 18, 2009 @ 06:34

In Russia N900 cost about 1271$, my currently phone what i use cost 30$.

» Posted by pdrummond
 on Friday, December 18, 2009 @ 11:11

This is great news - just what I have been waiting for.

I initially under-estimated how important QML is for Nokia. It provides a way to develop high-quality, dynamic user interfaces for Nokia phones that compare admirably to competitors such as iphone. And all in QML/Javascript! Very nice :-)

FYI: When I ran the flickr demo on the N900 I found it impossible to touch the buttons - I had to use the stylus and even then sometimes the the buttons and progress bar seemed unresponsive. To be expected for a technology preview of course - just thought I would mention it.

Is there a specific forum for reporting QML issues/bugs?

Regards,
Paul Drummond

» Reply from Harald Fernengel
 on Friday, December 18, 2009 @ 12:17
Harald Fernengel

SABROG: Note that our port is for Maemo in general, not only for the N900. We hope that more affordable devices will come out soon. Or you develop some Qt apps for the N900 and buy one from the revenues ;)

» Posted by Dragan
 on Friday, December 18, 2009 @ 16:31

Tried it on my N900, no melting involved, excellent work.

» Posted by Psychomax
 on Monday, December 21, 2009 @ 15:07

Hello!
Can somebody tell me where to find the Sourcecode of the “Qt Declarative Binaries” example in the git?

Regards,
Max



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.