Page 1 of 1

Linux crash because of outdated libqgtk2style.so

Posted: Sun Sep 27, 2020 9:23 pm
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.

Re: Linux crash because of outdated libqgtk2style.so

Posted: Mon Sep 28, 2020 11:16 am
by xnview
thanks, i've fixed the package