hrdwrrsk/adementary-theme

Menubar theming in Qt applications

AndreaPasqualini opened this issue · 2 comments

Qt applications' menubar is not correctly themed.

This holds for sqlitebrowser and vlc as found in the Ubuntu Bionic repositories.
Libreoffice (as pulled in by the libreoffice package) is themed just fine.

Gtk applications are themed correctly (e.g., Gnome terminal with Light theme variant).

I use qt5ct, setting the environment variable QT_QPA_PLATFORMTHEME=qt5ct in /etc/environment and by selecting gtk2 in Qt5ct (screenshot below).

OS: Ubuntu 18.04.1 LTS (minimal installation)
GTK theme: Tetra
Shell theme: Tetra Dark

screenshot from 2019-01-08 16-19-30

screenshot from 2019-01-08 15-39-35

screenshot from 2019-01-08 15-36-45

screenshot from 2019-01-08 15-37-03

it's more like another application/config override your qt5 config et al

I checked: the problem persists when QT_QPA_PLATFORMTHEME=gtk2. So it is not related to qt5ct.

Edit: I rebooted after setting again the environment variable and you where right: with QT_QPA_PLATFORMTHEME=gtk2, Tetra is correctly applied to QT5 applications. Closing the issue now.