You are not logged in.

#1 2017-01-06 19:22:46

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Making QT apps fit with GTK

What do you guys do to make QT apps adhere to the theme set for GTK apps?  I have installed Cantata for MPD and it looks pretty crap and I am not 100% sure what to do to make it fit.

Cheers

Last edited by Döbbie03 (2017-01-06 23:30:22)


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#2 2017-01-06 19:34:41

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

Re: Making QT apps fit with GTK

In ~/.xsessionrc:

export QT_STYLE_OVERRIDE=GTK+

https://github.com/BunsenLabs/bunsen-co … ssionrc#L9

That file is run by display managers, if you use a console login then add it to ~/.profile instead.

See also https://wiki.archlinux.org/index.php/Un … #QGtkStyle et al.

Offline

#3 2017-01-06 19:46:32

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,872

Re: Making QT apps fit with GTK

Thanks Chaps, I shall have a play and report back.

Cheers


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#4 2017-01-07 01:33:16

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

Re: Making QT apps fit with GTK

Do any Debian Jessie packages use QT5?


...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

#5 2017-01-07 09:59:42

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Making QT apps fit with GTK

thanks nobody for this extra info.
i was using the old method a la archwiki (see HoaS's post), which doesn't work anymore for qt5.
i will do as it says and see what happens then.

edit:
sorry if i'm confusing you with info from a non-debian system.

Last edited by ohnonot (2021-07-02 09:36:25)

Offline

#6 2017-01-07 11:21:20

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

Re: Making QT apps fit with GTK

johnraff wrote:

Do any Debian Jessie packages use QT5?

No, there is no qt5 in Debian jessie.

https://packages.debian.org/search?keyw … ection=all

I think @stevep may have some qt5 stuff in his OBS repository but TBH I think we're better off without it smile

Offline

#7 2017-01-07 11:28:53

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

Re: Making QT apps fit with GTK

nobody wrote:

Yes there is plenty, the naming scheme is different: https://packages.debian.org/search?keyw … ection=all.

Ah, interesting, thanks.

So can QT5 applications actually be run in jessie?

Offline

Board footer

Powered by FluxBB