Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. HTML5 local storage (WebEngineView)
QtWS25 Last Chance

HTML5 local storage (WebEngineView)

Scheduled Pinned Locked Moved Solved QtWebEngine
4 Posts 2 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HojjatJafaryH Offline
    HojjatJafaryH Offline
    HojjatJafary
    wrote on last edited by HojjatJafary
    #1

    Is there any clean way to read/write data to html5 local storage from the C++ side?

    raven-worxR 1 Reply Last reply
    0
    • HojjatJafaryH HojjatJafary

      Is there any clean way to read/write data to html5 local storage from the C++ side?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • HojjatJafaryH Offline
        HojjatJafaryH Offline
        HojjatJafary
        wrote on last edited by
        #3

        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?

        raven-worxR 1 Reply Last reply
        0
        • HojjatJafaryH HojjatJafary

          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?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @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.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved