The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: ersi on 2017-02-01, 17:31:33

Title: Solution: Uniform Qt-Gtk GUI for Arch
Post by: ersi on 2017-02-01, 17:31:33
Quote from: https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#QGtkStyle
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.
Title: Re: Solution: Uniform Qt-Gtk GUI for Arch
Post by: Frenzie on 2017-02-01, 18:26:00
The same package exists on Debian as qt-style-plugins (https://packages.debian.org/sid/libs/qt5-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
Title: Uniform Qt-Gtk GUI for FreeBSD
Post by: Barulheira on 2017-02-07, 17:26:10
Also, in FreeBSD, qt5-style-plugins (http://www.freshports.org/x11-themes/qt5-style-plugins/).