Linux Bandaid: KDE apps can’t open TGA image files

If you are working with TGA images a lot, you might have seen the bug where KDE apps like Gwenview can’t open them and give you a weird message about being unable to read metadata.

This is a bug in qt. KDE4 brings its own image readers for TGA, but only uses them when the qt ones are not available. So let’s delete them (as root, of course):

[ad name=”new in-post ad”]

rm /usr/lib/debug/usr/lib64/qt4/plugins/imageformats/libqtga.so.debug
rm /usr/lib/qt4/plugins/imageformats/libqtga.so
rm /usr/lib64/qt4/plugins/imageformats/libqtga.so

Some of these commands can fail, depending on whether you have debug information or 64bit versions installed.

1 thought on “Linux Bandaid: KDE apps can’t open TGA image files

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: