Re: [SailfishDevel] Persistent storage

2013-06-19 Thread christopher . lamb
Hi Markus http://flyingsheeponsailfish.blogspot.ch/2013/06/where-is-my-sqlite-db-on-sailfish.html Chris Zitat von "Markus Svensson" : Thank you, Thomas. I probably should read the docs more closely. :) Regards, Markus 20 jun 2013 kl. 00:27 skrev Thomas Perl : On Jun 19, 2013, at 10:53 PM,

Re: [SailfishDevel] Persistent storage

2013-06-19 Thread Markus Svensson
Thank you, Thomas. I probably should read the docs more closely. :) Regards, Markus 20 jun 2013 kl. 00:27 skrev Thomas Perl : > On Jun 19, 2013, at 10:53 PM, Markus Svensson wrote: >> Does anyone know where the emulator stores the SQLite databases? I would >> like to inspect it manually for de

Re: [SailfishDevel] Persistent storage

2013-06-19 Thread Thomas Perl
On Jun 19, 2013, at 10:53 PM, Markus Svensson wrote: > Does anyone know where the emulator stores the SQLite databases? I would like > to inspect it manually for debugging purposes, but have not managed to find > it yet (by logging into the emulator from the command line and poking around). >Fr

Re: [SailfishDevel] Persistent storage

2013-06-19 Thread Markus Svensson
Hi, I have a follow up question. Does anyone know where the emulator stores the SQLite databases? I would like to inspect it manually for debugging purposes, but have not managed to find it yet (by logging into the emulator from the command line and poking around). Thanks! Regards, Markus 3

Re: [SailfishDevel] Persistent storage

2013-05-31 Thread christopher . lamb
Sali Erlend ...and I should have made it clear that I was using QML and Javascript for my DB persistence. mfg Chris Zitat von "Erlend Boe" : Hoi Chris, The difference is that I am accessing SQLite from C++. sorry - I should have made that more clear. Erlend On 31.05.2013, at 22:31, chr

Re: [SailfishDevel] Persistent storage

2013-05-31 Thread Erlend Boe
Hoi Chris, The difference is that I am accessing SQLite from C++. sorry - I should have made that more clear. Erlend On 31.05.2013, at 22:31, christopher.l...@thurweb.ch wrote: > Hi Erlend > > I am slightly confused: Is there any difference between the QtQuick Offline > Storage API / Database

Re: [SailfishDevel] Persistent storage

2013-05-31 Thread christopher . lamb
Hi Erlend I am slightly confused: Is there any difference between the QtQuick Offline Storage API / Database API, and SQLite? My Harmattan app makes use of an SQLite database to store settings. I am fairly sure that I did not have to install anything on to Harmattan Simulator, Emulator or

Re: [SailfishDevel] Persistent storage

2013-05-30 Thread Markus Svensson
Cool - thanks! 30 maj 2013 kl. 19:56 skrev Erlend Böe : > Hei Markus, > > It is already included in the simulator. > All I had to do was to add > QT+=sql to the qmake project file. > Erlend > > Sent from my Jolla ;-) > > On 29.05.2013, at 22:23, Joseph Crowell wrote: > >> SQLite is in use o

Re: [SailfishDevel] Persistent storage

2013-05-30 Thread Erlend Böe
Hei Markus, It is already included in the simulator. All I had to do was to add QT+=sql to the qmake project file. Erlend Sent from my Jolla ;-) On 29.05.2013, at 22:23, Joseph Crowell wrote: > SQLite is in use on a wide range of applications. I would assume it would be > bundled on the devi

Re: [SailfishDevel] Persistent storage

2013-05-29 Thread Joseph Crowell
SQLite is in use on a wide range of applications. I would assume it would be bundled on the device along with the other core Qt plugins. On 5/30/2013 6:18 AM, Markus Svensson wrote: Hi Chris, Thank you for your reply. I believe QT Quick uses SQLite under the hood as well, but I have not had t

Re: [SailfishDevel] Persistent storage

2013-05-29 Thread Markus Svensson
Hi Chris, Thank you for your reply. I believe QT Quick uses SQLite under the hood as well, but I have not had to add any extra packages so far. But then I haven't gotten very far with my app yet... Is it known if SQLite will be available on production devices, or will each app have to bundle

Re: [SailfishDevel] Persistent storage

2013-05-29 Thread christopher . lamb
Hi Markus SQLite works for me, but you need to install the packages to the SDK and Emulator first. Grüsse Chris Zitat von "Markus Svensson" : Hi, What is the preferred way of doing persistent database type storage in a Sailfish OS application? I'm thinking of using QT Quick's Offline

[SailfishDevel] Persistent storage

2013-05-29 Thread Markus Svensson
Hi, What is the preferred way of doing persistent database type storage in a Sailfish OS application? I'm thinking of using QT Quick's Offline Storage API - will this work, or is there a better way? Thanks! Regards, Markus ___ SailfishOS.org Devel m