No, it doesn't help too :(

And clearing cookies manually

_socialWindow->engine()->networkAccessManager()->cookieJar()->setCookieJar(new
QNetworkCookieJar());

or cache

_socialWindow->engine()->clearComponentCache();

not solve the problem.

It looks like that QML file saves it state and lives between different
instances of QQuickView. How to reset it to initial state after creating
new QQuickView?


2014-06-03 0:44 GMT+03:00 Olivier Tilloy <[email protected]>:

>
>
>
> On Mon, Jun 2, 2014 at 11:32 PM, Николай Шатохин <[email protected]>
> wrote:
>
>> You didn't understand. It's not Android. It's Qt and QML
>>
>
> I think I understood, and I don’t think I mentioned Android anywhere (by
> the way Qt and QML also run on android, they’re not mutually exclusive
> technologies).
>
> I was suggesting you try something like that with your QML webview:
>
>   import QtQuick 2.0
>   import QtWebKit 3.1
>   import QtWebKit.experimental 1.0
>   WebView {
>     experimental.preferences.privateBrowsingEnabled: true
>   }
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to