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)
Forum Updated to NodeBB v4.3 + New Features

HTML5 local storage (WebEngineView)

Scheduled Pinned Locked Moved Solved QtWebEngine
4 Posts 2 Posters 2.1k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    HojjatJafary
    wrote on 2 Jul 2017, 13:43 last edited by HojjatJafary 7 Feb 2017, 16:14
    #1

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

    R 1 Reply Last reply 3 Jul 2017, 06:26
    0
    • H HojjatJafary
      2 Jul 2017, 13:43

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

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 3 Jul 2017, 06:26 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
      • H Offline
        H Offline
        HojjatJafary
        wrote on 3 Jul 2017, 11:27 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?

        R 1 Reply Last reply 3 Jul 2017, 11:33
        0
        • H HojjatJafary
          3 Jul 2017, 11:27

          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?

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 3 Jul 2017, 11:33 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

          1/4

          2 Jul 2017, 13:43

          • Login

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