(Ignoring legacy codebases); Even today, for a new project, C++ is likely the only cross-platform option if a rich desktop GUI is critical (EDA/CAD/GIS/Video etc).
Slint is still not professional grade (tried it over a year ago, and also its lack of widget variety and graphics toolkit is a big hole).
Avalonia might work if performance and footprint is acceptable to the app, and I'm not sure about the breadth of their native OS hooks, and window manager quirks.
I was surprised when my LLM managed to make a very nice Avalonia app supporting 1M lines of scrollback without any issues.
Its faster than our old legacy win32 application, even if that might not mean much. We did have to implement our own bitmapped font rendering though :(