QWebFrame and baseUrl

Petri Damstén petri.damsten at gmail.com
Tue Nov 10 15:02:15 CET 2009


On Tuesday 10 November 2009 15:42:18 Kenneth Christiansen wrote:
> Hi again.
> 
> I talked to Thiago Macieira and he told me that QUrl in 4.6 is more
> strict than in 4.5, but there isn't any behaviour change.
> 
> Can you please give me examples that stopped working?

d->page->mainFrame()->setHtml(dataFor(webpage), QUrl(package()-
>filePath("html"))); used to work. Now urls have to have scheme to work. Fixed 
by using KUrl that adds file:// for local paths.

Petri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091110/12afb6b5/attachment.sig 


More information about the Plasma-devel mailing list