Page 1 of 1

0.96.4: Not starting under Linux Mint 20. using qt5ct plugin Segmentation fault (core dumped)

Posted: Thu Jul 09, 2020 9:33 pm
by HansMuller
Hello,
when I start it (via command) the following message is displayed and xnviewmp does not work:

qt5ct: using qt5ct plugin
Segmentation fault (core dumped)

After deleteting the file "~/.config/qt5ct/qt5ct.conf" it works again but looks different (as then does VLC e.g)...

Regards

Re: 0.96.4: Not starting under Linux Mint 20. using qt5ct plugin Segmentation fault (core dumped)

Posted: Fri Jul 10, 2020 1:02 pm
by winnylinny
I can confirm this too. It only happens if "gtk2" is selected under qt5ct.

In a terminal run the command qt5ct, then select any other style besides gtk2.

This is a messy workaround, since XnViewMP (or any Qt5-based applications) will not match the theme and colors of the rest of your desktop.

Re: 0.96.4: Not starting under Linux Mint 20. using qt5ct plugin Segmentation fault (core dumped)

Posted: Sun Jul 12, 2020 5:54 pm
by sjsepan
@ winnylinny, Thanks! I did not know about the qt5ct tool. Got me in.
sjsepan

Re: 0.96.4: Not starting under Linux Mint 20. using qt5ct plugin Segmentation fault (core dumped)

Posted: Thu Jul 16, 2020 6:51 pm
by ben_sa2000
Some old version of libfreetype started getting shipped in 0.95.
libfreetype depends on libfontconfig, but since libfontconfig is not provided in the archive and the system , we need to remove this old libfreetype version so that Xnview uses the system newer libfreetype.

sudo rm /opt/XnView/lib/libfreetype.so

Tip from AUR Archlinux
Working perfectly