title: How to enable LocalStorage in Qt 5.3
body: <p>I tried the method:</p>
  
  <pre><code>QWebSettings* settings = QWebSettings::globalSettings();
  settings-&gt;setAttribute(QWebSettings::LocalStorageEnabled, true);
  auto path = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
  settings-&gt;setOfflineStoragePath(path);
  </code></pre>
  
  <p>window.localStorage is true(not null or undefined), but when I insert a item into the localStorage:</p>
  
  <pre><code>localStorage.setItem("b","isaac");
  alert(localStorage["b"]);
  </code></pre>
  
  <p>The error is happened, and the error messages in the webkit inspector console are:</p>
  
  <blockquote>
    <p>QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.</p>
  </blockquote>