[Qt-interest] QWebView and Qt Image plugins
Grego
grego at mpaja.com
Fri May 14 10:56:26 CEST 2010
Hi,
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.
Any ideas how to get jp2 images to show up in QWebView as well?
Thanks,
--
Grego
http://mpaja.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100514/305973b9/attachment.html
More information about the Qt-interest-old
mailing list