In Qt 4.7 if one set the 'always enable' option, the registry keys were created and stored on Windows, but after upgrading to Qt 4.8 the keys don't get created or read anymore. The javaScript code is in qt/src/3rdparty/webkit/Source/WebCore/inspector/front-end (for Qt 4.8) and the old code (from Qt 4.7) qt/src/3rdparty/webkit/WebCore/inspector/InspectorController.cpp The attached application can be used to reproduce the problem.
Created attachment 182538 [details] test application
Created attachment 183194 [details] Patch Looked at it and it seems that the settings are persisted differently since http://trac.webkit.org/changeset/76770 An application should call: QWebSettings::globalSettings()->setLocalStoragePath([PATH]); QWebSettings::globalSettings()->setAttribute(QWebSettings::LocalStorageEnabled, true); Or: QWebSettings::enablePersistentStorage(); to enable those settings to work in the application. The patch updates the documentation.
Comment on attachment 183194 [details] Patch Clearing flags on attachment: 183194 Committed r140326: <http://trac.webkit.org/changeset/140326>
All reviewed patches have been landed. Closing bug.