[webkit-qt] sqlite database as local storage

Allan Sandfeld Jensen kde at carewolf.com
Wed Feb 26 01:26:45 PST 2014


On Wednesday 26 February 2014, Konstantin Tokarev wrote:
> 26.02.2014, 00:38, "Richard Gerd Kuesters" <richard at humantech.com.br>:
> > hello all! :)
> > 
> > i was reading some of webkit resources, and one of them is to provide
> > local database storage, including sqlite3.
> > 
> > ok, i'm developing a custom application with webkit, and i would like to
> > expose my apps database to it, so i can access it directly using
> > javascript (instead of writing miles of cpp code).
> > 
> > is it possible?
> 
> Yes. WebKit exposes sqlite through APIs of Web Storage [1] (aka Local
> Storage aka DOM Storage) and Indexed DB [2].
> 
Indexed DB is only supported from Qt 5.3 and uses leveldb as a backend. It is 
the old database API WebSQL that uses SQLite as a backend.

`Allan


More information about the webkit-qt mailing list