@baloo said in Add a Dark Mode:
https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5
Hallelujah Hallelujah
@jonas Since windows version is already built with Qt6.6, cant this be used as a dark mode solution for windows version, at least?
@baloo said in Add a Dark Mode:
https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5
Hallelujah Hallelujah
@jonas Since windows version is already built with Qt6.6, cant this be used as a dark mode solution for windows version, at least?
@PeterB If only achieving this on windows was as simple...
@jonas Well in my experience all KDE-related theme stuff are generally behaves rather bad in other DEs, especially in gtk-based environment. And breeze is kde default theme, so it applies too, i guess.
But Qt themes not related to KDE usually behave ok everywhere from my experience. I'm personally using QtCurve configured to mimic my gtk3 Adwaita-dark theme under gnome shell, and it looks fine.
Anyway, what im trying to say is, as long as other qt themes work fine, and breeze works in kde, it should probably be fine. Compared to windows, at least.
p.s. Ok there qt6ct actually, but its only present in fedora and arch official repositories, and not others. For most users its as good as not present, as they probably wont bother trying to compile from github.
@jonas you arent really required to use KDE or have KDE installed at all.
The alternative is configure qt5 through qt5ct.
The apps can sometimes ignore settings set this way (maybe its depend if there were kde files in home or something, i'm not sure), but there is a environment variable for that.
Putting
export QT_QPA_PLATFORMTHEME=qt5ct
in your profile does the trick.
And yeah, using Qt6 is not the best option for Linux if you want to configure it adequately, i dont remember seeing equivalent of qt5ct for Qt6, at least in distros that i'm using.
Yes please, as much as i like to use this player on windows, not having dark mode is a big enough reason not to. (when you often use pc at night it really hurts the eyes!)