Solved QtWidgets or QML(QtQuick) with the appearance of Qt6
-
Hi all,
This question might be slightly off-topic but it means much to me. With the appearance of Qt 6 which area, QtQuick (QML) or QtWidgets, is going to be more useful/popular in near/far future? You respond, each of which has its own usages and better for a specific area, right? I don't contradict that but like to know if someone has time to follow only one of the two which they had better choose? If my recollection is accurate QML was good for both mobile and embedded, while Widgets was good for Desktop. QML was also good for Desktop but lacked the strength of Widgets. These were for before, but what now, especially with Qt 6?
I myself like mobile and embedded, and think these two fields have way higher level of popularity and usage, and probably QML can be very good on Desktop too. Therefore QML empowers you to be able to write programs for all three areas above greatly and can be better in the long run as well.
Please correct me if I'm mistaken. I barely can go for both and to some extent am imposed on choosing one of the two.
-
I think what you wrote is generally correct. If you don't have time to know both, and need to work on mobile and embedded, then work with QML.
-
Thank you.
Is the QML book on Github (https://qmlbook.github.io/index.html) yet the best book on QML? (It's Qt5 though!) Or do you suggest a better book/resource (except for Docs)?
My next question is, the title of that online book's chapters are stunning indeed and talks about anything, amazing! But nothing about embedded! Should I read/use something else for embedded?
-
@qcoderpro said in QtWidgets or QML(QtQuick) with the appearance of Qt6:
Thank you.
Is the QML book on Github (https://qmlbook.github.io/index.html) yet the best book on QML? (It's Qt5 though!) Or do you suggest a better book/resource (except for Docs)?
I've never read it. In fact, last book on Qt I read was written for Qt 3 and only revised for Qt 4 :D So I'm not best person to answer this.
The QML book is considered a good one, as far as I know. I was event partially financed by Qt Company at one point - not sure if it is still the case.
My next question is, the title of that online book's chapters are stunning indeed and talks about anything, amazing! But nothing about embedded! Should I read/use something else for embedded?
Qt is cross-platform. So if you want to learn it, focus on something easy (like desktop). Then, once you are ready to try embedded, 80% of the stuff you will already be familiar with.
I don't know if there are any specific books about Qt on embedded, so I can't say which are good and which are bad. But in general, embedded often simply means "Linux" and it comes with some built-in Qt (like many yocto systems). For commercial Qt, there is boot2qt and you can get support from the Qt Company about it.