[Qt-qml] Persisting QtObjects to Local Storage?
jyrki.yli-nokari at nokia.com
jyrki.yli-nokari at nokia.com
Mon Jan 10 08:57:52 CET 2011
I wrote a component (in JavaScript) that mimics the HTML localStorage
using the SQL. Works ok but the apparently the initialisation of the DB
imposes slight delay to the app startup at least on S^3. Email me if you
want the component file
On 10.1.2011 5.48, "ext Gregory Schlomoff" <gregory.schlomoff at gmail.com>
wrote:
>I haven't tried it, but what about using an Sqlite database, with the
>help of QML's sql elements?
>
>On Mon, Jan 10, 2011 at 12:28 AM, Ville M. Vainio <vivainio at gmail.com>
>wrote:
>> I have a QtObject with properties that I want to persist (elementary
>> types like string, bool, int). I'm keen to avoid writing any custom
>> code for this. Either "html local storage" or c++ solution is ok.
>>
>> Can anyone point to a bunch of ready code I could use?
>>
>> --
>> Ville M. Vainio @@ Forum Nokia
>> _______________________________________________
>> Qt-qml mailing list
>> Qt-qml at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>>
>_______________________________________________
>Qt-qml mailing list
>Qt-qml at qt.nokia.com
>http://lists.qt.nokia.com/mailman/listinfo/qt-qml
More information about the Qt-qml
mailing list