cookieStore in qml

  • How can I use cookieStore in a qml application?
    I am using QT 5.6 in Ubuntu 14.04.
    If I edit a file line, in qml, like
    var m_store = webPageView.profile.cookieStore()
    QTCreator shows "cookieStore" as a valid field and completes with () after I choose it. But it will cause a run time with message "TypeError: Property 'cookieStore' of object QQuickWebEngineProfile(0x13ba6e0) is not a function".

Log in to reply