You are not logged in.

#1 2018-05-28 06:39:10

digrouz
Member
Registered: 2018-02-12
Posts: 17

QT applications themes

Hello,

I did an update on my laptop this morning, qt got updated to 5.11. Since then it seems that qt application are not following my GTK themes anymore. My desktop is Gnome.

I cannot copy/paste between application in qt and gtk

Any idea how to debug this ?

Last edited by digrouz (2018-05-28 06:55:52)

Offline

#2 2018-05-28 09:53:54

marsi
Member
Registered: 2014-11-15
Posts: 3

Re: QT applications themes

I confirm, all apps are broken now.

Offline

#3 2018-05-28 10:55:40

falstaff_ch
Member
Registered: 2013-06-09
Posts: 26

Re: QT applications themes

Similar issue here, okular behaves wired (stuck on top left corner, repainting issue all over the place). I use Gnome 3 on Wayland.

Offline

#4 2018-05-28 11:04:41

falstaff_ch
Member
Registered: 2013-06-09
Posts: 26

Re: QT applications themes

Downgraded to Qt 5.10.1 and things are running fine again. It seems that with Qt 5.11 applications get started with the Wayland backend by default, which presumably leads to the issues.

Offline

#5 2018-05-28 13:01:33

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: QT applications themes

falstaff_ch wrote:

It seems that with Qt 5.11 applications get started with the Wayland backend by default, which presumably leads to the issues.

If that's causing the issues, exporting QT_QPA_PLATFORM=xcb environment variable should force qt applications to use X11 backend as a workaround.

EDIT. Alternatively you could just remove qt5's wayland backend by removing the qt5-wayland package.

Last edited by ooo (2018-05-28 13:04:32)

Offline

#6 2018-05-28 13:18:41

yodermk
Member
Registered: 2012-07-17
Posts: 86

Re: QT applications themes

I'm in xorg (because of nvidia) and do not seem to have these issues.

Offline

#7 2018-05-28 13:53:51

falstaff_ch
Member
Registered: 2013-06-09
Posts: 26

Re: QT applications themes

ooo wrote:

If that's causing the issues, exporting QT_QPA_PLATFORM=xcb environment variable should force qt applications to use X11 backend as a workaround.

EDIT. Alternatively you could just remove qt5's wayland backend by removing the qt5-wayland package.

Indeed, both variants fix the issue with Okular and Qt 5.11 for me, thanks!

Offline

#8 2018-05-29 06:08:51

digrouz
Member
Registered: 2018-02-12
Posts: 17

Re: QT applications themes

what is missing to have qt 5.11 work properly with Wayland ? is it just upstream support that is partial or it is some missing config/packages on my pc ?

Offline

Board footer

Powered by FluxBB