Manjaro Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

From Manjaro
(Fix forum link)
m
Line 21: Line 21:
<!--T:20-->
<!--T:20-->
Install {{ic|qt5ct}} using your favorite package manager or the command:
Install {{ic|qt5ct}} using your favorite package manager or the command:
pamac install qt5ct
{{UserCmd|command=pamac install qt5ct}}




<!--T:21-->
<!--T:21-->
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines:
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines:
export QT_QPA_PLATFORMTHEME="qt5ct"
{{File|file=~/.profile|content=<pre>export QT_QPA_PLATFORMTHEME="qt5ct"</pre>}}





Revision as of 15:37, 22 September 2021

Other languages:
English • ‎Türkçe • ‎español • ‎русский • ‎فارسی

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:

user $ pamac install qt5ct COPY TO CLIPBOARD


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

~/.profile
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

Chmsee-icon.png

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.