Skip to main content

Topic: Solution: Uniform Qt-Gtk GUI for Arch (Read 203 times)

  • ersi
  • [*][*][*][*][*]
Solution: Uniform Qt-Gtk GUI for Arch
Note: QGtkStyle has been removed from qt5-base 5.7.0 [1] and added to qt5-styleplugins AUR
If you have problems with Otter (or any other Qt app) not respecting Gtk style, Arch and Manjaro users have to install qt5-styleplugins which will connect the necessary dots between Qt and Gtk automatically.

  • Frenzie
  • [*][*][*][*][*]
  • Administrator
Re: Solution: Uniform Qt-Gtk GUI for Arch
Reply #1
The same package exists on Debian as qt-style-plugins.

Code: [Select]
$ apt search qt5-style
Sorting... Done
Full Text Search... Done
qt5-style-plugins/testing,unstable 5.0.0+git16.g7aa4764-1 amd64
  Qt 5 extra widget styles

You can set environment variables globally in xinitrc, see https://wiki.archlinux.org/index.php/Environment_variables#Graphical_applications

Code: [Select]
#~/.xinitrc

export QT_QPA_PLATFORMTHEME=gtk2

Or you can run a Qt app with a specific setting to try it out.

Code: [Select]
QT_QPA_PLATFORMTHEME=gtk2 otter-browser

  • Barulheira
  • [*][*][*][*][*]
Uniform Qt-Gtk GUI for FreeBSD
Reply #2
Also, in FreeBSD, qt5-style-plugins.