Qt
De Banane Atomic
Aller à la navigationAller à la recherche
Liens
- Qt sur Archlinux
Utiliser le thème Gtk dans les applications Qt
QGnomePlatform
Requires a style that support both Qt and GTK. |
pacman -S qgnomeplatform |
~/.zshenv |
# QGnomePlatform: applies the appearance settings of GNOME for Qt applications QT_QPA_PLATFORMTHEME=gnome |
QGtkStyle
pacman -S qt5-styleplugins # lancer mon_application_qt avec le thème gtk2 QT_QPA_PLATFORMTHEME=gtk2 mon_application_qt |
~/.xprofile |
export QT_QPA_PLATFORMTHEME="gtk2" |
Qt5ct
Application pour configurer Qt5 (theme, style, font, icons) dans un environnement de bureau sans integration de Qt.
~/.config/qt5ct/colors/Breeze Dark.conf |
[ColorScheme] active_colors=#eff0f1, #31363b, #4c545c, #40464d, #171a1c, #2a2e32, #eff0f1, #ffffff, #eff0f1, #232629, #31363b, #111314, #3daee9, #eff0f1, #2980b9, #7f8c8d, #31363b, #000000, #31363b, #eff0f1 disabled_colors=#6e7175, #2e3338, #4a5259, #3e444a, #16191b, #282c30, #65686a, #ffffff, #6e7175, #212427, #2e3338, #101213, #2e3338, #6e7175, #234257, #404648, #2e3338, #000000, #31363b, #eff0f1 inactive_colors=#eff0f1, #31363b, #4c545c, #40464d, #171a1c, #2a2e32, #eff0f1, #ffffff, #eff0f1, #232629, #31363b, #111314, #224e65, #eff0f1, #2980b9, #7f8c8d, #31363b, #000000, #31363b, #eff0f1 |
Définir les variables d'environnement:
~/.xprofile |
export QT_QPA_PLATFORMTHEME=qt5ct export QT_SCALE_FACTOR=1.2 |
Fonctionne aussi avec le fichier /etc/environment