Bug 55863 - 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...
Summary: libjpeg not called; kuickshow opens jpeg images whereas kview does not know t...
Status: RESOLVED NOT A BUG
Alias: None
Product: kview
Classification: Applications
Component: general (show other bugs)
Version: 3.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 11:22 UTC by Thilo Kopp
Modified: 2003-03-12 17:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.