Z
Z
ZaMaZaN4iK2015-12-30 20:50:19
User interface
ZaMaZaN4iK, 2015-12-30 20:50:19

QML vs QtWidgets?

Hello!
Please tell me, does it make sense at this stage in the development of the Qt library to write graphical interfaces using QtWidgets? Or is it already worth switching to using QML? Who will advise what?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vitaly, 2015-12-31
@ZaMaZaN4iK

It depends on what specific applications you need to write. If this is something for the touch screen, then the choice is unambiguous (QML), if it is for the desktop and this is another accounting program, i.e. there is not a lot of 3D, work with QGraphicsScene or OpenGL, then using QML will be more pleasant than classic widgets - writing is easier and faster, but until you get used to it, you will spit and want to quit :)
And so look, for example, on hh.ru, the percentage of vacancies where Qt and QML are required, I think that standard widgets will live for a long time.

J
Jacob E, 2015-12-30
@Zifix

In short, widgets are designed for traditional desktop applications, sharpened under the mouse. QML allows you to make arbitrarily animated applications for touch screens.

P
Pavel K, 2015-12-30
@PavelK

QML is not only for the sensor.
It is very convenient to make custom beautiful interfaces in it, for example, the interface of the program that I am currently writing:
QML also now has standard controls, such as widgets.
Those. everything goes to him and it's great =)

Z
ZaMaZaN4iK, 2015-12-30
@ZaMaZaN4iK

that is, is it worth it to start switching to interfaces only on QML? Are the widgets quiet in the trash?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question