You are not logged in.
Under Debian bookworm maintaining theme harmony for both Qt and GTK applications is done by installing the qt5-gtk2-platformtheme package and exporting QT_QPA_PLATFORMTHEME=gtk2
, which causes Qt to use the configured GTK2 theme for the window components.
For the upcoming trixie release the qt5-gtk2-platformtheme package has been removed so that method can't be used going forward.
Debian provides the qt5-gtk-platformtheme & qt6-gtk-platformtheme packages to cover this gap, with the relevant variable now being QT_QPA_PLATFORMTHEME=gtk3
. This seems to work, at least as far as font configuration is concerned, but the theme range appears limited to the default Adwaita-style setting, which is unfortunate.
Anyway, I thought it best to start a new thread here rather than continue to hijack https://forums.bunsenlabs.org/viewtopic.php?id=9322 :-)
Offline
Sounds like a good idea.
BTW do you know if qt6gtk2 is still worth thinking about?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
The qt6gtk2 package has been rendered obsolete by qt6-gtk-platformtheme and the move to GTK3, I think.
Stuff seems to work just fine with the qt{5,6}-gtk-platformtheme packages as long as the correct environmental variable is applied. It's a bit strange though because the package description for qt5-gtk2-platformtheme mentions QT_QPA_PLATFORMTHEME
but the qt{5,6}-gtk-platformtheme descriptions do not
Offline
Thanks. That simplifies our options a bit.
It's a pity theme syncing will be restricted to fonts, but OTOH I guess there won't be all that many QT apps in default BL.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline