Set all Qt app's to use GTK+ font & theme settings

From Manjaro Linux
Jump to: navigation, search


Overview

When using a Desktop Environment or Window Manager that doesn't allow for the settings of QT themes, you can set QT to use your GTK themes instead.


Using qt5ct

note: In some Manjaro editions, this is already done for you by default


Install qt5ct using your favorite package manager or the command:

pamac install qt5ct


Set environment variables in ~/.profile by adding or updating the following lines:

export QT_QPA_PLATFORMTHEME="qt5ct"


Run the application QT5 Configuration Manager from the menu or run the command qt5ct.


Logout and login again to make the change effective


See Also