3 ms·
Honestly the only one I have used successfully and the one I see most professional companies choose is Qt. Yes you possible have to pay for a license when you
by davismwfl 7y ago
Honestly the only one I have used successfully and the one I see most professional companies choose is Qt. Yes you possible have to pay for a license when you get to that point, but they work with small companies/startups and the license fees are not crazy and it saves you tons of time while making your app performant, portable and clean.
Gtk to me is just not worth the effort, it is a mess and documentation is horrid. We tried Gtk on one project I worked on a while back and it was abandoned because of the struggles we had to go through just to make it work as expected. While Qt isn't a panacea by any means, it is lightyears better than Gtk. I know I am pissing off someone that knows Gtk well and can't see why it is hard to use, but coming from the perspective of I need to get an app running and not struggle through a framework, Gtk just doesn't cut it.
And especially if you are talking about graphing, performance etc, Qt will be the best of them. While you are on the open source Qt you get community support and lots of help/examples. And if you do reach the point you are paying for a license then at least with Qt you will get quick support and problem resolution not based on a communities best efforts which may not align with your companies issues.
If I didn't mind some pain in framework maturity, I'd probably try Flutter. Flutter desktop is in early previews IIRC, but it (at least for mobile) is documented much better and is easier to use than Gtk IMO. Flutter does work pretty well for mobile, but that's the only thing I've used it for, so no clue on what the desktop preview even looks like.
- fileeditview 7y agoThanks for your input. It coincides with my impression about Qt and Gtk. Years ago I made an application (for myself) with Qt and C++ and it was kind of a pleasant experience. I was only reluctant because I would like to not use C++ in my free time.. I will however consider this again and maybe see what bindings exist for Qt. I don't think Flutter is an option for me. I would then rather go the JS/Electron route. It just makes no sense to learn Dart to me.. the only use for it seems Flutter.
- davismwfl 7y agoYea, I only mentioned flutter because it is there and is growing, but if I wanted to ship a desktop app quickly to get moving, it'd be Qt for me. I personally love C/C++, but understand not everyone does, but for installed desktop apps, C/C++ still just makes the most sense to me. I know Wireshark moved off Gtk to Qt for a variety of reasons, but some of their key points from what I remember was Gtk was falling further behind on issues, current trends and platform support whereas Qt has really kept up and keeps evolving with the market. Good luck with whatever you choose.