Skip to main content
Topic: Fixing wrong scale of qt5 apps with xfce [solved] (Read 1639 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Fixing wrong scale of qt5 apps with xfce [solved]

Hi there,

I was experiencing the following problem: when I updated vlc to the latest version  (VLC media player 3.0.1 Vetinari, revision 3.0.1-0-gec0f700fcc) its window was showed with large buttons and small fonts. Like in the image:



after doing some research I found that adding the following environment variables to my .bashrc (it could be added to /etc/environment instead) solved my problem.

Code: [Select]
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_AUTO_SCREEN_SCALE_FACTOR=0

after that, you ought to run qt5ct to config QT.

Quote
IMPORTANT: In my case, selecting Standard dialogs as GTK3 produced segmentation faults every time I tried to run any QT application. Nevertheless, GTK2 is a safe choice.

I hope this may help somebody, and save them the time I spent looking for a solution.

Now it works just fine.  :D



Regards

Re: Fixing wrong scale of qt5 apps with xfce

Reply #1
@carlosalvatore Thanks. :)

I put the environment variables in /etc/environment & all is working fine.

Thanks for saving me from having to find the info' myself. ;)