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" <[email protected]> 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 <[email protected]> >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 >> [email protected] >> http://lists.qt.nokia.com/mailman/listinfo/qt-qml >> >_______________________________________________ >Qt-qml mailing list >[email protected] >http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
