News for hackers. Stuff that matters.
Re:Writing GUI apps for Windows is painful by magicalhippo on Sunday June 30, 2024 @03:32PM (#40839569)
Writing GUI apps for Windows in C++ is painful

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.

Re:Writing GUI apps for Windows is painful by chipdart on Sunday June 30, 2024 @03:53PM (#40839784)
> 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.

Re:Writing GUI apps for Windows is painful by dgfitz on Sunday June 30, 2024 @04:07PM (#40839924)
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.
Re:Writing GUI apps for Windows is painful by nurettin on Sunday June 30, 2024 @03:48PM (#40839738)
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.
Re:Writing GUI apps for Windows is painful by Androth on Sunday June 30, 2024 @10:18PM (#40842037)
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.