söndag 20 januari 2013

Qt Quick 2.0 LocalStorge

Just another note to my self... Qt documentation is not updated correctly. This works to get/create the database:
.import QtQuick.LocalStorage 2.0 as LS
db = LS.LocalStorage.openDatabaseSync("your_db_name", "db_Version_Nr", 
"db_description", estimated_size_of_db_in_bytes);
More info at Qt-LocalStorage

Inga kommentarer: