I have set up dark-theme for qt applications like this:
qt = {
enable = true;
style = "adwaita-dark";
};
And it works for qt5 applications, but when I try qt6 applications, the dark theme is not picked up and I get these errors in the terminal:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
QApplication: invalid style override 'adwaita-dark' passed, ignoring it.
Available styles: Windows, Fusion
This is the same for every qt6 application I tried, but if you want to test it you can try the program NanoVNASaver
which is light and fast to install.
Is anyone able to set dark theme on qt6 applications on NixOS? How do you do it? Do you think it is a problem in the qt6 package used to build all these applications?