[SailfishDevel] Persistent storage

Markus Svensson markus.svensson at me.com
Wed Jun 19 20:53:31 UTC 2013


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

30 maj 2013 kl. 21:04 skrev Markus Svensson <markus.svensson at me.com>:

> Cool - thanks!
> 
> 30 maj 2013 kl. 19:56 skrev Erlend Böe <erlendboe at yahoo.com>:
> 
>> 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 <joseph.w.crowell at gmail.com> wrote:
>> 
>>> 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 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 it separately?
>>>> 
>>>> Thanks!
>>>> 
>>>> Skickat från min iPhone
>>>> 
>>>> 29 maj 2013 kl. 21:31 skrev christopher.lamb at thurweb.ch:
>>>> 
>>>>> 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" <markus.svensson at me.com>:
>>>>> 
>>>>>> 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 mailing list
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>> 
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>> _______________________________________________
>> SailfishOS.org Devel mailing list
> _______________________________________________
> SailfishOS.org Devel mailing list


More information about the Devel mailing list