[Qt-interest] QWebView HelloWorld - image doesn't load
Constantin Makshin
cmakshin at gmail.com
Sat Dec 19 19:44:58 CET 2009
Yes, it's a GIF image (http://www.google.com/intl/en_ALL/images/logo.gif).
On Sat, 19 Dec 2009 21:16:04 +0300, Stephen Jackson
<spjackson42 at gmail.com> wrote:
> 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?
--
Constantin Makshin
More information about the Qt-interest-old
mailing list