Using c++ we have a quite minimal amount of platform specific code by making tight abstractions and trying to work on shared code as much as possible.
We use open source where possible to save time and repeated work. Using things like ImGui for Ui..
But all platform specific things we abstract ourselves (window creation, graphics apis, video decoders, input, timers, threads etc)
I have worked on proprietary game engines for over 10 years and while it may sound a lot of work to reinvent the wheel, when you know how and can do it well the end of cycle development can be a breeze when everything is bespoke to your needs...
alternatively I have worked on products using unity, qt and other frameworks and have spend months of optimisation grinding to ship..
I have used Qt quite a few times in the past and it has always proven very capable. It isn't perfect, no framework is, but it is powerful and you can work with it, plus there are tons of examples and people with experience with it.
While I only have firsthand experience developing with JavaFX, if I were doing something in C++ or Python I'd reach for Qt.