Linux crash because of outdated libqgtk2style.so

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
asdfasdf
Posts: 1
Joined: Sun Sep 27, 2020 6:03 pm

Linux crash because of outdated libqgtk2style.so

Post by asdfasdf »

I am experiencing a crash when attempting to run the latest version of xnviewmp (0.97.0) in Linux after setting the environment variable QT_QPA_PLATFORMTHEME=gtk2. This is possibly due to an outdated version of libqgtk2style.so. I did not have this issue with the previous version of xnviewmp. The following error message is printed to console:

Code: Select all

Cannot mix incompatible Qt library (5.12.8) with this library (5.15.1)
Replacing /opt/xnviewmp/lib/styles/libqgtk2style.so with /usr/lib/qt/plugins/styles/libqgtk2style.so fixes this error for me. I am currently using qt5 5.15.1.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux crash because of outdated libqgtk2style.so

Post by xnview »

thanks, i've fixed the package
Pierre.
Post Reply