There’s a Qt application called Frescobaldi which can find the Adwaita-Dark theme only when run as flatpak; if you run it as normal app Adwaita-dark theme is not found.
The color-scheme setting can be easily switched on/off also in the top right settings, but it affects only the window main bar. The gtk-theme cannot be set elsewhere and it’s what I was missing to toggle dark mode.