[Qt-interest] QWebView HelloWorld - image doesn't load

Hawkeye Parker hawkeye.parker at autodesk.com
Sat Dec 19 01:27:03 CET 2009


One more try with a little more context:

Windows XP 32bit
Qt 4.6


From: Hawkeye Parker 
Sent: Wednesday, December 16, 2009 6:49 PM
To: 'qt-interest at trolltech.com'
Subject: QWebView HelloWorld - image doesn't load

Hi All,

I must be doing something very foolish here:

    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..

Any ideas?

Thanks,
Hawkeye Parker




More information about the Qt-interest-old mailing list