HTML5 local storage (WebEngineView)
-
Is there any clean way to read/write data to html5 local storage from the C++ side?
-
Is there any clean way to read/write data to html5 local storage from the C++ side?
@HojjatJafary said in HTML5 local storage (WebEngineView):
Is there any clean way to read/write data to html5 local storage from the C++ side?
the cleanest way would probably be to go via the JS engine. Means connect your C++ code via the QtWebChannel module to the JavaScript calls.
-
As there is Qt Quick Local Storage module that is compatible with Html5 local storage that is mentioned here, why there is no direct access to the storage similar to cookies that can be accessed and modified?
-
As there is Qt Quick Local Storage module that is compatible with Html5 local storage that is mentioned here, why there is no direct access to the storage similar to cookies that can be accessed and modified?
@HojjatJafary
In the link you've posted is just mentioning that the API conforms to one from HTML5.
But in the end their purpose is completley different and thus are not related to each other.