[webkit-qt] Trouble displaying PNG files

Nathan Osman george_edison55 at hotmail.com
Mon May 3 16:34:17 PDT 2010

Well, I don't have a BugZilla account nor am I using the nightly build, so I can't file a bug report. It would be better if someone who is using the night build filed the bug.

Sorry for the missing code. My email client must have stripped the html from it. It was basically just a simple html doc with an img tag with src set to logo.png which is in the same directory.

- Nathan

From: tonikitoo at gmail.com
Date: Mon, 3 May 2010 13:56:22 -0400
Subject: Re: [webkit-qt] Trouble displaying PNG files
To: george_edison55 at hotmail.com
CC: webkit-qt at lists.webkit.org


On Thu, Apr 29, 2010 at 7:00 PM, Nathan Osman <george_edison55 at hotmail.com> wrote:

Here is what I did:

1. Created a new Qt4 GUI Application
2. Added a QWebView to the main widget in the designer
3. Added the following code to the MainWindow ctor:



I did fail to show what was between the quotes above. It can be an important data :)

Also, have you tried to make use of the second optional parameter of setHtml? Ffrom the docs of setHtml:

"  Sets the content of this frame to \a html. \a baseUrl is optional and
 used to resolve relative

  URLs in the document, such as referenced images or stylesheets.

  The \a html is loaded immediately; external objects are loaded 


--Antonio Gomes

Live connected. Get Hotmail & Messenger on your phone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100503/0aabe376/attachment.html>

More information about the webkit-qt mailing list