> Writing GUI apps for Windows in C++ is painful
I don't think so. Qt makes this a trivial problem, and WinUI3 supports C++ as a first class citizen.
I'd argue that desktop development for Windows was never as good as it is right now.
Re:Writing GUI apps for Windows is painful
by magicalhippo on Sunday June 30, 2024 @04:06PM
(#40839921)
I've used Qt a lot. Unless something very drastic has happened last 5-6 years it's not in the same league as say Delphi.
But fair enough, it's quite good. If I had to write a C++ UI application, it'd be on my shortlist.
Writing a gui in Qt is so simple anytime someone like the GP says “writing a gui in c++ is hard” obviously hasn’t tried.
Re:Writing GUI apps for Windows is painful
by rubymamis on Monday July 01, 2024 @02:13AM
(#40843039)
Indeed, QML and C++ together are the best mix out there for GUI development. I've written my block editor completely using Qt C++ & QML: https://www.get-plume.com/ and it was a breeze.
Delphi comes with so many db drivers, a data layer that will let you do crud, and an app store that using it feels like cheating. Especially with devexpress controls.
lazarus is great, but the GUI library it comes with has the same issues that the author is concerned about... try changing the theme colors to a dark theme... you end up with something looking like crap with all the other controls using standard colors.
There, fixed it for ya.
There are solutions if you're not hell-bent on using C++, be it .Net, Lazarus (FreePascal) or Delphi. We're using Delphi at work and for the most part it's super simple and easy.