You are not logged in.

#1 2015-04-04 04:45:56

shallpion
Member
Registered: 2009-12-12
Posts: 65

font selection in qt 5 stuck [Solved]

Recently I installed package extra/oxygen 5.2.2-1 (plasma) , strangely there seems to be no way to ask some apps to change font. One of them is konsole and another one I noticed is smplayer. Basically anything compiled with Qt 5.4.1 is stuck to this ugly-as-hell font and I have no way to change it...I googled around and tried several suggestions people mentioned but they seem to change absolutely nothing. I cannot even figure out which font those qt5 apps are using...




comparison

The menu above is konsole with qt5, the one beneath is amarok with qt4...

After some testing, it appears to be the problem of frameworkintegration package, not oxygen itself but it pulled this package in.

Anyone had idea how to change font for qt5 apps? Thanks in advance...

Last edited by shallpion (2015-04-04 08:12:42)

Offline

#2 2015-04-04 07:24:10

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: font selection in qt 5 stuck [Solved]

Easiest way is install Qt5 Configuration Tool http://qt-apps.org/content/show.php/Qt5 … ent=168066 There is PKGBUILD for 0.10 version: http://www.archlike.darmowefora.pl/inde … ml#msg1332 and there is qt5-configuration-tool.install http://www.archlike.darmowefora.pl/inde … tml#msg948 You should download those file, put them in one folder then:

makepkg -sirc

After that, edit your ~/.profile file and add:

export QT_QPA_PLATFORMTHEME=qt5ct

and logout/login into DE.
There is font section.

Offline

#3 2015-04-04 08:12:21

shallpion
Member
Registered: 2009-12-12
Posts: 65

Re: font selection in qt 5 stuck [Solved]

Splendid! Thank you so much for your suggestion and it works perfectly (though I had to put the "export QT_QPA_PLATFORMTHEME=qt5ct" all over the places like .bash_profile. big_smile I suppose this tool should be shipped in official repository sometime later.

Thanks, I will mark the question as resolved

Offline

#4 2015-04-04 09:31:33

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: font selection in qt 5 stuck [Solved]

If qt5ct is usable, I can add it to AUR (pavbaranov is me wink ). There is also possible to add it to our repository on SF later.

Offline

#5 2015-04-04 19:23:10

shallpion
Member
Registered: 2009-12-12
Posts: 65

Re: font selection in qt 5 stuck [Solved]

Please do so ! smile

Offline

Board footer

Powered by FluxBB