You are not logged in.

#1 2025-04-20 16:07:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

[trixie] Qt configuration harmony

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

#2 2025-04-21 05:54:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: [trixie] Qt configuration harmony

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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2025-04-21 09:49:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [trixie] Qt configuration harmony

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 hmm

Offline

#4 2025-04-22 01:06:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: [trixie] Qt configuration harmony

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 )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB