title: QWebEngineView - Allow local Store in the Browser
body: <p>I'm trying to implement a web browser to see the web page <a href="https://earth.google.com/web" rel="nofollow noreferrer">'https://earth.google.com/web'</a>.
  The browser works fine.
  The browser save my google user, so when I start a new sesion, I don't have to put my google user, for using my settings.
  My problem occurs when I upload a KML track, the program says 'To save this file, enable local store in the browser.</p>
  <p><a href="https://i.stack.imgur.com/gJQ4T.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gJQ4T.jpg" alt="enter image description here" /></a></p>
  <p>In Python console I saw this message:</p>
  <pre><code>js: 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
  </code></pre>
  <p>If the track is not saved, when I start a new sesion, the KML is not there.</p>
  <p>I try this this:</p>
  <pre><code># Creation of Widget
  self.web_view = QWebEngineView() 
  
  # Setting the Browser
  settings = QWebEngineSettings.globalSettings()
  
  # Setting Local Storage
  settings.setAttribute(QWebEngineSettings.LocalStorageEnabled, True)
  
  # Other settings I tried:
      
  
  settings.setAttribute(QWebEngineSettings.JavascriptCanAccessClipboard, True)
  settings.setAttribute(QWebEngineSettings.PluginsEnabled, True)
  settings.setAttribute(QWebEngineSettings.FullScreenSupportEnabled, True)
  settings.setAttribute(QWebEngineSettings.ScreenCaptureEnabled, True)
  settings.setAttribute(QWebEngineSettings.AllowGeolocationOnInsecureOrigins, True)
  settings.setAttribute(QWebEngineSettings.JavascriptCanPaste, True) 
  </code></pre>