[webkit-qt] sqlite database as local storage
Konstantin Tokarev
annulen at yandex.ru
Wed Feb 26 01:29:02 PST 2014
26.02.2014, 13:26, "Allan Sandfeld Jensen" <kde at carewolf.com>:
> 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.
AFAIU it's possible to build 2.2.x or 2.3x with --indexed-database. I have not
checked if it works properly though.
>
> `Allan
Regards,
Konstantin
More information about the webkit-qt
mailing list