How to empty WebEngine profile



  • Hi,
    I'm trying to find a way to completely clear WebEngine profile in my application.
    All files about caches, cookies and various storages are created into this folder:
    ~/.local/share/qWebChat/QtWebEngine/Default

    A sure-working way could be to manually delete the storage folder, but I'm sure that there is a better qt-way to do it.

    I'm using Qt 5.5.1 in Linux 64bit.

    Thanks.