Can I make QML based apps persistent?
-
Hi,
just a simple example: I have a scene build in QML with 2 simple Rectangle items. They can be moved with the mouse in the scene. Is it possible to save this scene at any point and load it later from there again? If it doesnt work out of the box, maybe somebody knows a working approach / link here?
I really hope for some short insights.
Thanks in advance
Micha -
You could store positions, rotation to a sqlite "database":http://doc.qt.nokia.com/4.7/qdeclarativeglobalobject.html#database-api and reload from database as you want.