You are not logged in.

#1 2020-06-05 17:38:40

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

All QT Applications SEGFAULT after update!

I recently ran a system update and the qt5-base package was updated to 5.15.0-2 and now every single QT application dies with a segmentation fault.
Because I don't use KDE or GNOME, I use qt5ct to configure the qt theme.
I also have the QT_QPA_PLATFORMTHEME environment variable set to "qt5ct".

I'm not sure what other QT configurations might affect applications like this so I don't know what other information to give.
Any help is appreciated!

Offline

#2 2020-06-05 17:52:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: All QT Applications SEGFAULT after update!

yeah, qt5ct has issues. See the bug tracker.

Offline

#3 2020-06-07 18:45:50

Sturmgewehr
Member
Registered: 2012-06-12
Posts: 5

Re: All QT Applications SEGFAULT after update!

Solution:
Back up your Qt5ct config:

 $ mv ~/.config/qt5ct/qt5ct.conf ~/.config/qt5ct/qt5ct.conf.bck 

Start qt5ct:

 $ qt5ct 

A configuration window should pop up. Choose your theme, icons, fonts etc. Click "Apply".

This should reset your appearance settings.

Start any Qt5 application, e.g.:

 $ okular 

Voilà, no segmentation fault, everything works with the 2020-06-07 release of the system.

Offline

#4 2020-06-08 07:28:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: All QT Applications SEGFAULT after update!

Usually this is due to you using a non repo qt5 theme that relies on qt's internal headers, did you rebuild whatever theme you are actively using against the new Qt?

Offline

Board footer

Powered by FluxBB