Discussion:
[SailfishDevel] Persistent storage
Markus Svensson
2013-05-29 18:41:00 UTC
Permalink
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
christopher.lamb
2013-05-29 19:31:01 UTC
Permalink
Hi Markus

SQLite works for me, but you need to install the packages to the SDK
and Emulator first.

Gr?sse

Chris
Post by 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 mailing list
Markus Svensson
2013-05-29 20:18:00 UTC
Permalink
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
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
Joseph Crowell
2013-05-29 20:23:25 UTC
Permalink
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Erlend Böe
2013-05-30 17:56:25 UTC
Permalink
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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Markus Svensson
2013-05-30 19:04:57 UTC
Permalink
Cool - thanks!
Post by 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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Markus Svensson
2013-06-19 20:53:31 UTC
Permalink
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
Post by Markus Svensson
Cool - thanks!
Post by 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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Thomas Perl
2013-06-19 22:27:07 UTC
Permalink
Post by Markus Svensson
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).
From https://qt-project.org/doc/qt-4.8/qdeclarativeglobalobject.html:

"These databases are user-specific and QML-specific, but accessible to all QML applications. They are stored in the Databases subdirectory of QDeclarativeEngine::offlineStoragePath(), currently as SQLite databases."

https://qt-project.org/doc/qt-4.8/qdeclarativeengine.html#offlineStoragePath-prop

~% python
Python 2.7.3 (default, Feb 10 2013, 17:47:44)
[GCC 4.6.4 20120731 (Mer 4.6.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Post by Markus Svensson
Post by Markus Svensson
from PySide.QtCore import QCoreApplication
from PySide.QtDeclarative import QDeclarativeEngine
app = QCoreApplication([])
engine = QDeclarativeEngine()
engine.offlineStoragePath()
u'/home/nemo/.local/share/data///QML/OfflineStorage'

HTH :)
Thomas
Post by Markus Svensson
Post by Markus Svensson
Cool - thanks!
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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
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
Markus Svensson
2013-06-20 04:58:13 UTC
Permalink
Thank you, Thomas. I probably should read the docs more closely. :)

Regards,
Markus
Post by Thomas Perl
Post by Markus Svensson
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).
"These databases are user-specific and QML-specific, but accessible to all QML applications. They are stored in the Databases subdirectory of QDeclarativeEngine::offlineStoragePath(), currently as SQLite databases."
https://qt-project.org/doc/qt-4.8/qdeclarativeengine.html#offlineStoragePath-prop
~% python
Python 2.7.3 (default, Feb 10 2013, 17:47:44)
[GCC 4.6.4 20120731 (Mer 4.6.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Post by Markus Svensson
Post by Markus Svensson
from PySide.QtCore import QCoreApplication
from PySide.QtDeclarative import QDeclarativeEngine
app = QCoreApplication([])
engine = QDeclarativeEngine()
engine.offlineStoragePath()
u'/home/nemo/.local/share/data///QML/OfflineStorage'
HTH :)
Thomas
Post by Markus Svensson
Post by Markus Svensson
Cool - thanks!
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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
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
christopher.lamb
2013-06-20 05:10:17 UTC
Permalink
Hi Markus

http://flyingsheeponsailfish.blogspot.ch/2013/06/where-is-my-sqlite-db-on-sailfish.html

Chris
Post by Markus Svensson
Thank you, Thomas. I probably should read the docs more closely. :)
Regards,
Markus
On Jun 19, 2013, at 10:53 PM, Markus Svensson
Post by Markus Svensson
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).
"These databases are user-specific and QML-specific, but accessible
to all QML applications. They are stored in the Databases
subdirectory of QDeclarativeEngine::offlineStoragePath(), currently
as SQLite databases."
https://qt-project.org/doc/qt-4.8/qdeclarativeengine.html#offlineStoragePath-prop
~% python
Python 2.7.3 (default, Feb 10 2013, 17:47:44)
[GCC 4.6.4 20120731 (Mer 4.6.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Post by Markus Svensson
Post by Markus Svensson
from PySide.QtCore import QCoreApplication
from PySide.QtDeclarative import QDeclarativeEngine
app = QCoreApplication([])
engine = QDeclarativeEngine()
engine.offlineStoragePath()
u'/home/nemo/.local/share/data///QML/OfflineStorage'
HTH :)
Thomas
Post by Markus Svensson
Post by Markus Svensson
Cool - thanks!
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
Post by 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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to
the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
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
_______________________________________________
SailfishOS.org Devel mailing list
Wim de Vries
2013-07-09 12:06:51 UTC
Permalink
Hi,
I have asked this question before, but got no answer.
Now the issue becomes more urgent for my project.
Trying again:
does/should the sailfish emulator support openGL (ES)?
thanks.
Lucien XU
2013-07-09 12:24:46 UTC
Permalink
Hello

It should, but via mesa-llvmpipe. Don't know your needs though, as I have
never done openGL in my life.
Post by Wim de Vries
Hi,
I have asked this question before, but got no answer.
Now the issue becomes more urgent for my project.
does/should the sailfish emulator support openGL (ES)?
thanks.
_______________________________________________
SailfishOS.org Devel mailing list
Thomas Perl
2013-07-09 19:58:01 UTC
Permalink
Hi,
Post by Wim de Vries
I have asked this question before, but got no answer.
Now the issue becomes more urgent for my project.
does/should the sailfish emulator support openGL (ES)?
thanks.
Yes, OpenGL ES 1.1 and OpenGL ES 2.0 are supported in the Sailfish Emulator:

[root at SailfishEmul ~]# rpm -qa | egrep '(GLES|EGL)'
mesa-llvmpipe-libEGL-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv1-devel-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv2-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv1-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv2-devel-9.0.2-1.2.i486
mesa-llvmpipe-libEGL-devel-9.0.2-1.2.i486

(note that the -devel packages are only needed for development, so on the Emulator you don't need them)

OpenGL ES 2.0 can be used directly with Qt (QGLWidget in QtOpenGL), OpenGL ES 1.1 can be used via Xlib + EGL, an example on how to do this is here:

http://wiki.maemo.org/SimpleGL_Example

This example uses OpenGL ES 2.0, but you can easily modify it to use OpenGL ES 1.1 instead (untested):

Instead of linking against GLESv2, you link against GLESv1_CM, instead of including GLES2/gl2.h, you include GLES/gl.h and instead of using the EGL_OPENGL_ES2_BIT attribute, you use EGL_OPENGL_ES_BIT. You obviously also have to replace the shader usage with fixed function pipeline equivalents, but if you do OpenGL ES programming, you know how to do that.

This even works with Python - make sure you have python-pyside and python-imaging installed, and you should be able to run OpenGL ES 2.0 examples like SwipEout (http://thp.io/2011/swipeout/) directly from the console - no compiler needed, just ssh into the emulator (export DISPLAY=:0; python swipeout.py).


HTH :)
Thomas
Wim de Vries
2013-07-10 12:53:39 UTC
Permalink
Thanks.
My testing goes no further than glClear, but even that does not work. It
works fine in the desktop version.
The related error is (i think):
"libEGL warning: DRI2: failed to authenticate"
Googling on this error didn help me any further.

r
wim
Post by Thomas Perl
Post by Wim de Vries
I have asked this question before, but got no answer.
Now the issue becomes more urgent for my project.
does/should the sailfish emulator support openGL (ES)?
thanks.
[root at SailfishEmul ~]# rpm -qa | egrep '(GLES|EGL)'
mesa-llvmpipe-libEGL-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv1-devel-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv2-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv1-9.0.2-1.2.i486
mesa-llvmpipe-libGLESv2-devel-9.0.2-1.2.i486
mesa-llvmpipe-libEGL-devel-9.0.2-1.2.i486
(note that the -devel packages are only needed for development, so on the
Emulator you don't need them)
OpenGL ES 2.0 can be used directly with Qt (QGLWidget in QtOpenGL), OpenGL
http://wiki.maemo.org/SimpleGL_Example
This example uses OpenGL ES 2.0, but you can easily modify it to use
Instead of linking against GLESv2, you link against GLESv1_CM, instead of
including GLES2/gl2.h, you include GLES/gl.h and instead of using the
EGL_OPENGL_ES2_BIT attribute, you use EGL_OPENGL_ES_BIT. You obviously
also have to replace the shader usage with fixed function pipeline
equivalents, but if you do OpenGL ES programming, you know how to do that.
This even works with Python - make sure you have python-pyside and
python-imaging installed, and you should be able to run OpenGL ES 2.0
examples like SwipEout (http://thp.io/2011/swipeout/) directly from the
console - no compiler needed, just ssh into the emulator (export
DISPLAY=:0; python swipeout.py).
HTH :)
Thomas
christopher.lamb
2013-05-31 20:31:42 UTC
Permalink
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 physical device (N9). Nor did I have to add
anything to the .pro file.

When I started porting this app to Sailfish, the app would start, but
the database access did not work.

Then I installed sqlite-devel to the SDK via the SDK Control Center,
and sqlite-devel to the Emulator by means of zypper in.

After this the DB access magically worked. I made no change to my
Sailfish .pro file.

So what is the difference between the technique you suggest, and the
one I found?

Gr?sse

Chris
Post by 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 ;-)
Post by 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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the
SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Erlend Boe
2013-05-31 20:46:52 UTC
Permalink
Hoi Chris,

The difference is that I am accessing SQLite from C++.
sorry - I should have made that more clear.

Erlend
Post by 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 physical device (N9). Nor did I have to add anything to the .pro file.
When I started porting this app to Sailfish, the app would start, but the database access did not work.
Then I installed sqlite-devel to the SDK via the SDK Control Center, and sqlite-devel to the Emulator by means of zypper in.
After this the DB access magically worked. I made no change to my Sailfish .pro file.
So what is the difference between the technique you suggest, and the one I found?
Gr?sse
Chris
Post by 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 ;-)
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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
christopher.lamb
2013-05-31 21:02:05 UTC
Permalink
Sali Erlend

...and I should have made it clear that I was using QML and Javascript
for my DB persistence.

mfg

Chris
Post by Erlend Boe
Hoi Chris,
The difference is that I am accessing SQLite from C++.
sorry - I should have made that more clear.
Erlend
Post by 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 physical device (N9). Nor did I
have to add anything to the .pro file.
When I started porting this app to Sailfish, the app would start,
but the database access did not work.
Then I installed sqlite-devel to the SDK via the SDK Control
Center, and sqlite-devel to the Emulator by means of zypper in.
After this the DB access magically worked. I made no change to my Sailfish .pro file.
So what is the difference between the technique you suggest, and the one I found?
Gr?sse
Chris
Post by 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 ;-)
Post by 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.
Post by 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 it separately?
Thanks!
Skickat fr?n min iPhone
Post by christopher.lamb
Hi Markus
SQLite works for me, but you need to install the packages to
the SDK and Emulator first.
Gr?sse
Chris
Post by 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 mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
Loading...