November 8, 2012

costab costab
Lab Rat
8 posts

New enterprise application in Qt: QML or QWidgets?

 

If you were to start a new enterprise application (ERP type) in Qt, what would you use to develop the UI, QML or QWidgets? Obviously there is a need for grids, so using QWidget based components is a must. The app would have a lifespan of 10 years. And yes, there is no need for animations other than random dancing girls :-)))

I have spent a bit of reading about Qt 5 and it seems to me that the mobile world started to overflow in the desktop world. The consensus seems to be that developing UI using QML gets you faster at least for the phone. It looks to me that the need to imitate the various animation effects on different platform pushed things on a certain road that I am not to sure it’s good for desktop applications that don’t need animation. As a side note, in my experience the novelty effect that an animation has wears off pretty quickly and soon it becomes a waste of computer cycles. Anyway, that aside, where is this going??

Thanks

5 replies

November 8, 2012

raja26 raja26
Lab Rat
76 posts

In QML animation is not mandatory. You can just use QML Desktop components to create a desktop UI. That will not be glossy or animated. It will look like a native app. Since your application is going to live for another 10 years just use QML so that you can change the UI easily, in this life span. Main feature of QML is its agility.

November 9, 2012

costab costab
Lab Rat
8 posts

How easy is to integrate a Table View or a List View components to QML screen?

November 9, 2012

raja26 raja26
Lab Rat
76 posts

Actually its very easy. You can easily create a proof of concept within hours and then decide whether you can go with QML or Qt.

November 13, 2012

costab costab
Lab Rat
8 posts

Read this article to understand what I am getting at:

http://www.theglobeandmail.com/technology/tech-news/pretty-v-useful-microsoft-declares-a-winner/article5221524/?page=1

It’s not related directly to Qt but the bottom line is that all this “prettiness” is driving the development tools to a certain road. It looks to me that QML has been developed for implementing mobile devices UI, all this fluff s***t that I see on the phones. You guys are telling me that it’s easy to develop QML. But I need screens with grid controls, date pick controls, perhaps rich text stuff and so on. Is QML capable of handling this?? Are the QWidgets going to be eventually obsolete?

November 13, 2012

sierdzio sierdzio
Area 51 Engineer
4110 posts
costab wrote:
Is QML capable of handling this?? Are the QWidgets going to be eventually obsolete?
  1. Not fully ATM. Grid is there, rich text too, but AFAIK date picking is missing (can be taken from widgets, though).
  2. No one knows the answer here, we will see what happens on the way. Currently, QtWidgets is back with an active maintainer, while most of the QML people lost their jobs due to you-know-what. As popularity goes, both technologies are going strong.
 Signature 

(Z(:^

 
  ‹‹ Having issues with creating a QT GUI and other Applications      [SOLVED] Find the source of endless repaints? ››

You must log in to post a reply. Not a member yet? Register here!