Get the Gnome look for QT5 apps using Kvantum
Fix Qt5 Theme On GNOME With Kvantum
Qt apps look out of place in GNOME most of the time.
To be able to choose which theme Qt apps use on your Linux system and for a better overall integration with Gnome / Gtk, you can try Kvantum. This is an SVG based theme engine for Qt4, Qt5, KDE, and LXQt.
With it, you will be able to tweak Qt4 and Qt5 software to almost match your current Gtk theme (depending on themes installed in the engine)
This is how some Qt5 apps look, by default on Ubuntu 20.04:
This is how they look after using Kvantum with the KvYaru theme:
Installation:
To users on Ubuntu /Pop!_OS 19.04 and above You can install Kvantum using:
sudo apt install qt5-style-kvantum qt5-style-kvantum-themesOn Fedora to install Kvantum, use:
sudo dnf install kvantum
For Manjaro users, Kvantum comes with the distro by default, if not you can install it using:
sudo pacman -S kvantum-qt5
Than, open the ~/.profile file with your favorite text editor:
At the bottom of this file, add this new line:
export QT_STYLE_OVERRIDE=kvantumSave the file, and open Kvantum. Click on Change/Delete Theme, and choose the theme you want for Qt5 applications ( for ubuntu users use: KvYaru).
Now you need to logout and relogin or reboot you computer. Open some Qt5 application and enjoy.
Comments
Post a Comment