πŸ“–Make QT apps look like GTK

When you install a QT app (e.g. Ksnip, qBittorrent, etc.), you may be disappointed that the app does not blend in to the system style using GTK libraries (it does not support its themes, icons and so on) with its different look.

To fix this as much as possible, install the QT Configuration Tool (5 is the last version so far).

  1. Open your Terminal, and run:

sudo apt install qt5-style-plugins qt5ct
  1. Run the app with the following command:

qt5ct
  1. Configure the look-and-feel of QT apps.

QT Configuration Tool

⚠️ There is a chance you cannot run the tool because of the warning message telling you to remove QT_STYLE_OVERRIDE variable, and that QT_QPA_PLATFORMTHEME is installed incorrectly.

If this is the case, you need to fix a couple of files (you will have to open them as admin to edit).

  • In /etc/profile.d/qt-style-override.sh remove export QT_STYLE_OVERRIDE=adwaita and save.

  • In /etc/profile.d/qt-qpa-platformtheme.sh, only put the following string export QT_QPA_PLATFORMTHEME=qt5ct with nothing else.

Last updated