[webkit-qt] problem with custom scheme (qt 5.1)

Richard Gerd Kuesters richard at humantech.com.br
Thu Jun 20 13:30:41 PDT 2013


as promised: https://github.com/vltr/webkit-scheme-qt5.1

:)

cheers!


On 06/20/2013 04:08 PM, Richard Gerd Kuesters wrote:
> 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 it by.
>
>
> cheers,
> richard.
>
>
> 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 
>> javascript in winblows 64 bits -- any scheme request other then http, 
>> 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? :)
>>
>
>
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130620/9b98dbe7/attachment.html>


More information about the webkit-qt mailing list