Bug 55863

Summary: libjpeg not called; kuickshow opens jpeg images whereas kview does not know the jpeg format. They were both compiled as part of kdegraphics-3.1; checked with ldd: for kuickshow ldd lists libjpeg.so.62 whereas kview does not. I use Qt 3.1.1 with jpeg su...
Product: [Applications] kview Reporter: Thilo Kopp <thilo.kopp>
Component: generalAssignee: Matthias Kretz <kretz>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thilo Kopp 2003-03-12 11:22:39 UTC
Version:           3.0 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.1 
OS:          Linux

I compiled Qt 3.1.1 with options
./configure -system-zlib -qt-gif -system-libpng -system-libjpeg
            -plugin-imgfmt-mng -thread -no-stl -no-g++-exception
(and alternatively without the -system-libjpeg option):

In both cases, compilation of kdegraphics-3.1 (or just the kview subdirectory)
(with gcc 3.2.1)  does not produce any errors (libjpeg.so.62.0.0 is found,
otherwise, kuickshow would not be able to display jpeg images. And 
kuickshow is produced during the same compilation process).

kview compiled this way (version 3.0 with KDE 3.1) can neither preview
jpeg-images nor display them. ldd tells that kuickshow uses
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x41068000)
but ldd does not list the libjpeg for kview.
Comment 1 Matthias Kretz 2003-03-12 17:51:13 UTC
This is a problem with your Qt installation (as you've already guessed yourself). This normally 
happens when the jpeg code for Qt is compiled as a plugin (which it is in your case) and not 
found when running. 
 
You need to check ~/.qt/qtrc that the path for the image plugin is correct and that the plugin is 
really there. 
 
Try setting a jpeg as your background image, that won't work as well. Kuickshow and khtml can 
still show jpegs, though because they don't use Qt for loading the images. 
Comment 2 Thilo Kopp 2008-08-17 23:55:23 UTC
The original summary for this bug was longer than 255 characters, and so it was truncated when Bugzilla was upgraded. The original summary was:

libjpeg not called; kuickshow opens jpeg images whereas kview does not know the jpeg format. They were both compiled as part of kdegraphics-3.1; checked with ldd: for kuickshow ldd lists libjpeg.so.62 whereas kview does not. I use Qt 3.1.1 with jpeg support.