3 ms·
I've been programming Qt desktop apps in C++ since it was at v1. And I still haven't used any QML. Am I missing anything?
by hermitcrab 3y ago
I've been programming Qt desktop apps in C++ since it was at v1. And I still haven't used any QML. Am I missing anything?
- jenadine 3y agoYou are basically loosing on ~15 years of evolution in the way GUI are programmed. The "reactive programming" pattern that QML introduced with its property binding is really powerful and is what every new UI framework do nowadays. QtWidgets library only got the minimum of updates to be still relevant. Sadly, the story of QML on desktop is not really optimal.
- rubymamis 3y agoLove what you're doing with Slint and think you're on the right path. Why do you think QML on desktop isn't optimal, tho?
- rubymamis 3y agoDefinitely, see what I was able to do in just 5 months using C++ and QML: https://www.loom.com/share/79bbfce7feb44631a3ddfb1f229bf141 https://www.loom.com/share/79bbfce7feb44631a3ddfb1f229bf141 *And there's much more not in the video
- hermitcrab 3y agoWould that have been a lot harder to do without QML?
- rubymamis 3y agoYes. At least in my opinion. The entire view is reactive via bindings which is pretty incredible alone. Animations are super easy to do. And there are many other benefits. I'm not affiliated with him, but I really like his QML course if you want to check it out: https://www.udemy.com/course/qml-for-beginners https://www.udemy.com/course/qml-for-beginners. He also has some free Youtube videos on the topic.
- hermitcrab 3y agoI only develop for desktop, so not that interested in animation and prefer to stick with the standard desktop styling. But will make a note for the future. Thanks.