What do you love the most about qt?
-
- "real" multi- and cross-platform (some alternatives limited to 2-3 OS only, Qt apps can run almost everywhere)
- Good community
- Amout of modules (everything you can think of or you need to write a solid program)
- Programming language (C++)
- might be hard to learn at first, but as soon as you understand all principles (Signals, Event System, Model/Views, etc.) you will gain a lot out of it
- open source, (L)GPL is fine.
(can't speak for any commercial license or QtC experience)
-
What you said.
Plus, commercial support is really good (but you pay quite a lot for that) -
This post is deleted!
-
I agree with @Pl45m4 that C++ and LGPL play a huge part in choosing Qt as a framework. When I started using Qt extensively, QVector was superior (e.g. in performance) to std::vector. I believe that a lot of these data structures are now superseded by STL variants. However, QString still has some useful functions that are missing from the STL.
One major advantage of using Qt is that you don't need additional libraries for things besides UI. It is easier to stay in a single ecosystem and not having to learn (and manage) a dozen libraries.
So far, only one "alternative" to Qt has ever been mentioned to me: wxWidgets. However, the documentation for wxWidgets is incomplete which makes it really hard to figure out how to do stuff. Qt, on the other hand, has a really good documentation. At my current company we have switched from wxWidgets to Qt when we wanted a more modern look. Back when we did the switch we ended up using stylesheets to introduce a dark mode. (I would have preferred to use QPalette instead of stylesheets. This is still one downside of Qt.)
One major downside of Qt is that it has an old architecture. On the other hand I really prefer backwards compatibility. From one major version to the next there are only minor things to adjust to be able to switch. I personally would prefer a framework that supports multi-threading in the context of UIs (just like Vulkan superseding OpenGL for 3D graphics supports multi-threaded rendering). In today's world you need threads for good performance, but interfacing with UI makes this really hard for beginners.
With all the nagging I could do, I don't know of any other multi-platform UI framework (written in C++) that is better than (or even as good as) Qt. There is no alternative. (BTW, I'm mostly speaking of QWidgets. Haven't used QML, yet.)