26.02.2014, 13:26, "Allan Sandfeld Jensen" <k...@carewolf.com>: > On Wednesday 26 February 2014, Konstantin Tokarev wrote: > >> 26.02.2014, 00:38, "Richard Gerd Kuesters" <rich...@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 _______________________________________________ webkit-qt mailing list webkit-qt@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-qt