[webkit-qt] sqlite database as local storage
Richard Gerd Kuesters
richard at humantech.com.br
Wed Feb 26 04:07:19 PST 2014
Thanks Konstantin and Allan!
I'm sorry to hear that this can't be done anymore, since it was a hope
of mine to bring more logic to the JavaScript end of my application :)
But that's ok, nevertheless I'll have a lot of work, lol.
My best regards,
Richard.
On 02/26/2014 07:01 AM, Konstantin Tokarev wrote:
>
> 26.02.2014, 13:29, "Konstantin Tokarev" <annulen at yandex.ru>:
>> 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.
> My bad, IDBSQLiteBackingStore was removed before 2.3 branch-off, though it is available
> in 2.2.
>
>
> Regards,
> Konstantin
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-qt/attachments/20140226/256c5966/attachment-0001.html>
More information about the webkit-qt
mailing list