Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings/ru"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Created page with "Установите {{ic|qt5ct}} с помощью своего любимого менеджера пакетов или команды: {{UserCmd|command=pamac install qt5ct}}") |
(Created page with "Установите переменные окружения в {{ic|~/.profile}}, добавив или обновив следующие строки: {{File|file=~/.profile...") Tags: Mobile web edit Mobile edit |
||
| Line 15: | Line 15: | ||
Установите переменные окружения в {{ic|~/.profile}}, добавив или обновив следующие строки: | |||
{{File|file=~/.profile|content=<pre>export QT_QPA_PLATFORMTHEME="qt5ct"</pre>}} | {{File|file=~/.profile|content=<pre>export QT_QPA_PLATFORMTHEME="qt5ct"</pre>}} | ||
Revision as of 06:36, 24 January 2023
При использовании среды рабочего стола или менеджера дисплея, которые не позволяют устанавливать темы QT, вы можете настроить QT на использование тем GTK вместо них.
Установите qt5ct с помощью своего любимого менеджера пакетов или команды:
user $ pamac install qt5ct
Установите переменные окружения в ~/.profile, добавив или обновив следующие строки:
~/.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
- Arch Wiki
- Matching Forum Topic