Can I make QML based apps persistent?
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
You mean just to save the rectangle's position? Or the whole scene?
The scene containing the rectangles, their position as well as rotation and so on.
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.