Total guess work, I have never used QT on Windows.
But I can get any colour scheme I like with Qt5 and Linux, with no extra code in the app itself.
(Obviously, Zeljk knows this but for OP) An external app, supplied by the QT people themselves (called qt5ct on Linux) sets up colour profiles, you launch your app with an Env Var that tell it, a QT app, which colour profile to use.
Works flawlessly on Linux, never tried it anywhere else.
Davo