QT 5.7.0 doesn’t support GTK theming

Last Updated on: 28th April 2022, 01:14 pm

The QT 5.7.0 doesn’t support GTK theming, so after upgrade Qt related packages, the Qt based applications look… not really nice on GTK based desktops.

How to fix it:
sudo apt update
sudo apt install qt5-style-plugins

Then:
sudo nano /etc/environment
and past into the file:
QT_QPA_PLATFORMTHEME=gtk2
then:
sudo reboot

That’s all. The first screen shows a Qt5 based application before, the second one after.

1 thought on “QT 5.7.0 doesn’t support GTK theming”

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Skip to content