@aei It's a very difficult time for people writing desktop apps. JavaFx has been moribund for some years now. Compose is a) kinda shite, and b) on the desktop very not ready for primetime. The ones you mention are very complicated, and have weird portability holes.
Sometimes, late at night, I dream of writing a new system for my own preferred language, kotlin. It's a pipe dream, I'm too old and tired. But every time I start an app, I have to choose between many shitty options.
@aei I dunno, I find Qt pretty great, actually. QML in particular is a delight to write UI in (though, admittedly, there's a bit of fiddlyness in passing data back and forth to the C++ side)
Also, Godot surprisingly solid choice
@s_hulard @aei I've done a couple of small things with it and it looked promising. Wrote about it in my old blog forever ago.
The angles I've mostly covered were:
Using Godot's GUI elementes for a more "standard application", integrating actual C++ through GDExtensions, setting up a C++ IDE, using CMake... and I also did a simple web app at one point
This was the first post, mostly GUI
https://vilelasagna.ddns.net/coding/games-nah-godot-all-of-the-things/
And you can find the rest here under "Coding"
https://vilelasagna.ddns.net/posts-by-category/
@aei I feel with Godot the tricky thing is GDExtensions. It ends up being pretty fiddly to bring in external, say, C++ code.
Works like a charm, I myself did some OpenCL even, but it is pretty fiddly to set up and whatnot
Regarding Qt, it's been many years since I've had to jump in. From memory, the basic concepts with signals and slots and etc are a bit specific at first but once you're through, their docs have always been the golden standard for me. REALLY good. Tons of examples too
@aei I guess a lot of the thing is that Qt is just a HUGE framework. A lot of people refer to is as just a GUI toolkit but that's extremely reductive, there's TONS there. Input, strings, media, network, even some inter process communication stuff
This all has a "Qthing" to use if you want and integrates into the framework and this can make it very overwhelming. If you WANT to use Qt JUST as a GUI layer, it's okay, but feels heavy handed. But if you're willing to "marry your program to Qt" [+1]
@aei Then it DOES have a lot to give and make your life easier, things fit pretty smoothly together, but it then DOES mean you are "A Qt application" and it becomes hard to refactor it out if you later decide you want to.
It IS a house that will make you feel welcome and cosy should you decide to live there, tho
@aei i feel like itd be easier to re-learn visual basic 6 if i wanted to build a desktop app.
Wrap it in some sort of Wine/Proton for Linux users and call it a day
@aei ugh, I remember writing windows stuff with just the API. On one hand I found it surprisingly simple in a lot of ways, but I needed to write and specify *everything* through C APIs which got tiresome very quickly. I never tried doing anything particularly sophisticated either.
I can imagine even a modestly complex UI, like a simple text editor, would be thousands of lines to place and draw the controls let alone do anything useful with them.