[Development] The place of QML

Peter Kümmel syntheticpp at gmx.net
Thu May 17 18:06:36 CEST 2012


On 17.05.2012 14:42, Иван Комиссаров wrote:
> Well, i do care about what happen to QWidgets. Maybe i'm old-fashioned (i'm 23 years old, heh), but i do have lot of code based on QWidgets. And that code works. So, you suggest me to thow away all code i've made, because QWidgets have bad design? And whst i got? Unfinished yet QML? Thanks, i'd better won't use Qt anymore.
>
> I don't have anything against QML as a technology - it is really good idea. But it breaks existing code. And provides very few advantages instead - most animations i can implement using QAnimation classes. And desktop applications don't need those animations - even Mac has quite few animations - they don't animate _everything_. Most i see on my mac can be done using QWidgets.
>
> I want to have my code working from now and forever (while qt lives). Alternate technologies are good while i can mix technologies (Qt Creator's start screen is a good example). I want to use beautiful, custom QML interface for contact list/chat window of my (hypotetical) IM Messenger, but i'd still prefer to use plain QWidget's for it's preferences windows and dialogs.
> You're trying to tell me that i have to use QML everywhere. I don't like that.

No, I didn't say you should replace your QWidget code with QML based.

When you are happy with QWidget, use it. QWidgets will stay for a long
time in Qt. I assume problems with QWidgets will also be a
show-stopper for a new Qt release.

But in Trolltech times, each new Qt release was a event for desktop
developers: new widget, new features, improved widgets.
I could remember the fascination when webkit was added to Qt!

Now a Qt release became a bit boring for QWidget users. All you
get are some bug fixes.

Actually QWidgets is in a feature freeze like mode, because neither
Nokia/Digia nor others are working on new QWidget based stuff.
Only bugs will be fixed. Doesn't other companies call this
mode "maintance".

But this is also a chance: on the long run QWidgets will become
one of the most bug-free parts within Qt. Which is also a benefit for
embedded systems where a update is much more expensive and complicated
than on a desktop system.

This is the good thing about the 'Done' status.

Peter



More information about the Development mailing list