QWebView: Cookies not working.



  • Hello,

    I'm developing a QtWebKit based application and I'm having the following issue:

    When I load an Url using the load method, like this:

    @load(QUrl("http://www.gmail.com"));@

    Cookies work correctly with no problems. However, when
    I load the content using the setHtml method, like this:

    @setHtml(htmlCode, QUrl("http://www.gmail.com));@

    (with the exact same html code)
    The website indicates that cookies aren't enabled in my browser.
    I wonder if this is a known issue, and whether there's a way to have
    cookies working for the setHtml method.

    Thank you,

    Sergio


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.