Playing around with QML, Part 1
I have been intrigued by QML ever since I saw the first demos online at Qt Beta Labs. Creating beautiful UIs, fast and with great animations is not easy with the current programming tools at hand. This is arguably the problem Qt is trying to solve with QML. I think they are doing great and this is the way to do UIs in the future, but I found some interesting issues with QML while playing around with it last evening.
So far I have only seen a few demos online of QML and they are mostly from the Qt guys themselves, but last week I saw a demo that Digia presented at MWC in Barcelona done in QML (or Qt Quick as I think it should be now called). Looks nice! If you know of more QML demos that are available online, please let me know. But since there really aren't too much stuff yet done with QML, I decided I need to test it myself. I have already in the past read some documentation and gone through the QML demo applications in the Qt Kinetic source package so now it was time to play with it for myself.
Below is a video of a simple application I did in one evening. Yes - I know it is not much to look at, but hey, I am not a graphics or UI designer
From the video below you can see that it is easy to play around with data and to create animations for your application. It would have been impossible to do this application in one evening with plain Qt and C++.
The source code is available at http://gitorious.org/qtquicktests/qtquicktests.
But looks can be deceiving. This quite simple application alone gave me some good experience in QML and made me better understand how it works. But I also found some interesting issues (bugs?) in QML and also some things I don't like about it. I should write an other blog post about my findings.
-
http://chaos.troll.no/~hhartz Henrik Hartz
-
Mattias
-
http://chaos.troll.no/~hhartz Henrik Hartz
-
Mateu Batle