[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QWebView doesn't run inline javascript
From:       Dmitry Shachnev <mitya57 () ubuntu ! com>
Date:       2014-02-19 14:59:20
Message-ID: CAKimPHX4SE_Fe+CKPjkaM1nfv5S_sh0ibzq87rVAhwHa=U8aNw () mail ! gmail ! com
[Download RAW message or body]

On Sat, Feb 15, 2014 at 3:55 PM, Kovid Goyal <kovid@kovidgoyal.net> wrote:
> You need to supply the baseurl, webkit cannot know how to resolve
> relative links in the document without that.
>
>         setHtml ( const QString & html, const QUrl & baseUrl = QUrl() )

That seems to fix some issues, thanks. However I don't understand why
it didn't work with absolute paths (like file:///).

--
Dmitry Shachnev
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic