paapereira.xyz

How to Make Qt Apps Match Dark Themes on Xfce

In summary, I prefer dark themes and my QT based applications weren’t matching this preference. I’m using Xfce.

After some digging around, and this video, here’s what I did.

1$ nano ~/.config/Trolltech.conf

[Qt] style=GTK+

1$ sudo pacman -S qt5-styleplugins
1$ sudo nano /etc/environment

QT_QPA_PLATFORMTHEME=gtk2 QT_STYLE_OVERRIDE=gtk2

#Linux #Arch Linux #Tags/Xfce