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
(Marked this version for translation)
(Marked this version for translation)
 
(7 intermediate revisions by 3 users not shown)
Line 16: Line 16:
<translate>
<translate>
<!--T:19-->
<!--T:19-->
{{note|In some Manjaro editions, this is already done for you by default}}
{{BoxInfo|note|In some Manjaro editions, this is already done for you by default}}




<!--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>}}




Line 37: Line 37:
</translate>}}
</translate>}}


{{SectionTemplate|<translate><!--T:15--> See Also</translate>|
{{SectionTemplate|
<translate><!--T:24--> [[File:Chmsee-icon.png|left|36px]]</translate>
<translate><!--T:15--> See Also</translate>|
<translate>
<!--T:25-->
* [https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications Arch Wiki]
* [https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications Arch Wiki]
* Matching [https://forum.manjaro.org/t/wiki-set-all-qt-apps-to-use-your-gtk-theme-font-settings/17654 Forum Topic]|Chmsee-icon.png}}
* Matching [https://archived.forum.manjaro.org/t/wiki-set-all-qt-apps-to-use-your-gtk-theme-font-settings/17654 Forum Topic]}}
</translate>


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]

Latest revision as of 18:10, 6 April 2022

Other languages:
English • ‎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.