<br><br><div class="gmail_quote">On Fri, May 14, 2010 at 10:55 PM, Benjamin Poulain <span dir="ltr">&lt;<a href="mailto:benjamin.poulain@nokia.com">benjamin.poulain@nokia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div class="im"><br>
<br>
ext Grego wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was comparing QWebView and QTextBrowser behaviour, and I noticed that the former does not seem to use image plugins. <br>
I&#39;m on Kubuntu, which includes a jp2 plugin out of the box.<br>
A simple html page having a jp2 image and a png image shows up fine in QTextBrowser.<br>
The same page shows only the png image in QWebView.<br>
<br>
Any ideas how to get jp2 images to show up in QWebView as well?<br>
</blockquote>
<br></div>
It uses image plugins, we recently had a bug because of that.<br>
You should debug ImageDecoderQt of WebKit to know what is going on. Maybe the type is not recognized as an image at all by WebKit, does your web server return a mimetype &quot;image/jp2&quot;?<br>
<br>
cheers,<br><font color="#888888">
Benjamin<br>
</font></blockquote></div><br>The page comes from a file using QWebKit::load(), so a web server is not involved.  This is on standard Qt 4.6.2 btw. forgot to mention that.<br><br>Anyway, thanks for the tip on where to look.  I&#39;ll need to setup Qt compilation from source to dig further.<br>
<br><br>-- <br>Grego<br><a href="http://mpaja.com/">http://mpaja.com/</a><br>