Manjaro Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

From Manjaro
imported>Handy
imported>Handy
Line 1: Line 1:
QGtkStyle has been removed from qt5-base 5.7.0 &
added to qt5-styleplugins which is an AUR package.
So since Qt 5.7 you need to install qt5-styleplugins
if you are using a GTK+ based DE/WM. If you use both
GTK2 & GTK3 applications you may need to find a
compatible theme.
=Introduction=
=Introduction=


Line 23: Line 31:
Then copy the following into your text editor's new empty file:
Then copy the following into your text editor's new empty file:


  ## Following was created to make Qt app's use GTK2
  ## Following was created to make Qt app's use GTK+
  ## font & theme settings:
  ## font & theme settings:
   
   
Line 41: Line 49:
=Results=
=Results=


After saving the file & rebooting, I then, with trepidation, opened the Qt 5.5 program called PkgBrowser... It looked just like my other GTK+ app's on my Openbox system (there is no accounting for taste!). I was very happy.
After saving the file & rebooting, I then, with trepidation, opened the Qt 5.7 program called PkgBrowser... It looked just like my other GTK+ app's on my Openbox system (there is no accounting for taste!). I was very happy.




Line 51: Line 59:
<br clear="all"/>
<br clear="all"/>


=Links=
This ArchWiki page goes into far more detail:
Uniform look for Qt and GTK applications [https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications]
<br clear="all"/>
=Support=
=Support=


Cookies help us deliver our services. By using our services, you agree to our use of cookies.