Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"
imported>Handy |
(section template appeared to be out of bounds) |
||
(17 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
__TOC__ | |||
{{SectionTemplate|<translate><!--T:16--> Overview</translate>| | |||
<translate> | |||
<!--T:17--> | |||
When using a [[Desktop_Environments|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. | |||
</translate>}} | |||
{{SectionTemplate| | |||
<translate> | |||
<!--T:18--> | |||
Using qt5ct | |||
</translate> | |||
|2= | |||
<translate> | |||
<!--T:19--> | |||
{{BoxInfo|note|In some Manjaro editions, this is already done for you by default}} | |||
< | <!--T:20--> | ||
Install {{ic|qt5ct}} using your favorite package manager or the command: | |||
{{UserCmd|command=pamac install qt5ct}} | |||
<!--T:21--> | |||
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines: | |||
{{File|file=~/.profile|content=<pre>export QT_QPA_PLATFORMTHEME="qt5ct"</pre>}} | |||
''' | <!--T:22--> | ||
Run the application '''QT5 Configuration Manager''' from the menu or run the command {{ic|qt5ct}}. | |||
<!--T:23--> | |||
Logout and login again to make the change effective | |||
</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] | |||
</translate> | |||
}} | |||
[[Category:Contents Page{{#translation:}}]] | |||
[[Category:Contents Page]] |
Latest revision as of 11:43, 29 June 2024
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.
Install qt5ct
using your favorite package manager or the command:
user $ pamac install qt5ct
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