[Qt-interest] QWebView and Qt Image plugins

Markus Goetz Markus.Goetz at nokia.com
Fri May 14 14:22:35 CEST 2010


On 05/14/2010 10:56 AM, ext Grego wrote:
> I was comparing QWebView and QTextBrowser behaviour, and I noticed 
> that the former does not seem to use image plugins.
>
> I'm on Kubuntu, which includes a jp2 plugin out of the box.
> A simple html page having a jp2 image and a png image shows up fine in 
> QTextBrowser.
> The same page shows only the png image in QWebView.
>
> Thinking I must enable something in the code, I reached for the docs, 
> thinking I found it and called:
> ui->webview->settings()->setAttribute(QWebSettings::PluginsEnabled, true)
>
> This doesn't seem to do it though.
It's for plugins such as flash.
>
> Any ideas how to get jp2 images to show up in QWebView as well?
>
>
If no one replies here, you should probably ask on 
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Markus



More information about the Qt-interest-old mailing list