You are not logged in.

#1 2024-12-12 18:38:27

linerman
Member
Registered: 2021-02-16
Posts: 90

Issue with uniform look for Qt apps

Since couple of weeks I have a problem with my Qt apps.
I use Gnome 47 and wanted to uniform all apps with my GTK4 theme - McMojave.
I added the theme to Kvantum and in ~/.profile put

 export QT_STYLE_OVERRIDE=kvantum 

It all worked fine but after regular system updates something went wrong.
Now, during Light mode, QT apps display horrible distorted night mode and during night mode display distorted light motive.

As an example MKVtoolnix - Gui

https://0x0.st/XFXU.txt

And it looks like that:
https://ibb.co/3pGGdvv

Offline

#2 2025-01-01 09:30:30

linerman
Member
Registered: 2021-02-16
Posts: 90

Re: Issue with uniform look for Qt apps

I guess I've solved the issue finally

1. First of all it turned out that regular system updates (incl. Nvidia drivers) automatically switched my Gnome from X11 to Wayland. It surprised me really that without my intention Gnome switched.
Anyway, I stick with Wayland to check if it works fully with my system.

2. According to Wiki (https://wiki.archlinux.org/title/Unifor … to_Kvantum) I had been using environmental variable, but that stopped working.
On some external forum I've found info that similar problem is being solved with installing qt6ct  or qt5ct and pasting

 QT_STYLE_OVERRIDE=kvantum 
QT_QPA_PLATFORMTHEME=qt5ct   

3.
a. In qt6ct settings I set style to kvantum
b. I put

 QT_STYLE_OVERRIDE=kvantum 
QT_QPA_PLATFORMTHEME=qt5ct   

into ./profile - it didn't work

c. I put above command into ./.config/environment.d/envvars.com - it didn't work

d. I put above command into /etc/environment - it did the trick

Offline

Board footer

Powered by FluxBB