[webkit-qt] problem with custom scheme (qt 5.1)
Richard Gerd Kuesters
richard at humantech.com.br
Thu Jun 20 12:08:27 PDT 2013
well, finally got it working with any content / scheme I want :)
it's a very simple code after all, but it may be tricky.
if someone is interested, I may provide the code - given that I do want
to publish it on github. as soon as I get the repository up, I'll drop
On 06/19/2013 11:56 AM, Richard Gerd Kuesters wrote:
> hello everyone!
> I asked a few days ago about creating a custom scheme (like "foo://")
> so I can manage it with custom network replies.
> so far, so good. people helped me giving links and so on - I'm still
> very glad from that.
> in qt 4.8.x, the examples and implementations that I found later
> worked, flawless.
> but, in qt 5.1 (rc1) -- which is needed by me because I need to run
> https, ftp or file simply doesn't work. frustrating.
> I mean, using QtDesigner for debugging, break points shows that the
> code goes to my custom reply, all signals are emmited but nothing
> appears. blank. using the developer console, I can see
> "foo://something", but the html source code is
> "<html><body></body></html>". just that. a simple hello world does not
> shows. if I edit the code using the developer console, it shows
> content, normally.
> anyway, I saw in some changelogs for qt 5.x something about
> "setDomainRelaxationForbiddenForURLScheme" and I think there may be
> some change in the code that doesn't allow webkit to show html content
> from other scheme by default.
> can someone give me a light? :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-qt