Why modern UI is rarely written in C++?
It's weird to me that the graphics for many video games are written in C++, but most people only use Qt if they have to write the UI in C++, some make their own frameworks. Qt's license doesn't always meet everyone's requirements and not everyone is an expert in graphics programming to create their own frameworks. C# has Avalonia, Uno, WPF, UWP. Java has JavaFX, Swing. All are free for commercial use, closed or open source. Many of you might say "Why would you even use C++ for the UI?" But why should this even a question? There are so many games with realistic graphics and they are all made in C++. So many game libraries for C++ to make stunning games. Why can't this apply to apps as well? Games are also apps.

It's weird to me that the graphics for many video games are written in C++, but most people only use Qt if they have to write the UI in C++, some make their own frameworks. Qt's license doesn't always meet everyone's requirements and not everyone is an expert in graphics programming to create their own frameworks. C# has Avalonia, Uno, WPF, UWP. Java has JavaFX, Swing. All are free for commercial use, closed or open source. Many of you might say "Why would you even use C++ for the UI?" But why should this even a question? There are so many games with realistic graphics and they are all made in C++. So many game libraries for C++ to make stunning games. Why can't this apply to apps as well? Games are also apps.