[Qt-interest] QWebView HelloWorld - image doesn't load
Stephen Jackson
spjackson42 at gmail.com
Sat Dec 19 19:16:04 CET 2009
2009/12/17 Hawkeye Parker :
>
> QWebView* webView = new QWebView();
>
> webView->load(QUrl("http://www.google.com/"));
>
> webView->show();
>
> Here’s what I get:
>
> http://www.hadal.org/misc/pics/googleNoImage.jpg
>
> I’ve tried mucking with the various QWebSettings with no luck.
> QDesktopServices::openUrl() is giving me a different problem, so I’d rather
> use Qt’s browser if I can….
>
Here are some suggestions for things to check.
Does the demo in qt/demos/browser work? It does for me (Qt 4.5.3 on
Linux) and the image is displayed.
I think that image is a GIF. Do you have GIF support in your Qt build?
Do images other than GIF get loaded correctly?
--
HTH,
Stephen Jackson
More information about the Qt-interest-old
mailing list