[Qt-interest] Data Storage for QT Application
Jason H
scorp1us at yahoo.com
Thu Feb 4 17:55:02 CET 2010
QSettings is your best bet, you can force it to a data file.
But QtSql using Sqlite is your next best, SQlite is used for storage for tons of apps (Firefox) and Android. For very simple XML, the XmlStreamReader interface is quite easy as well.
________________________________
From: Chitrang Srivastava <chitrang.srivastava at gmail.com>
To: qt-interest at trolltech.com
Sent: Thu, February 4, 2010 10:55:34 AM
Subject: [Qt-interest] Data Storage for QT Application
Hi,
I want to store/modify some data in my application which i want to persist across application instances i.e. when I close and re-open application I can see modified data.
I check API , I guess I can use Qt-XML or QSqlDatabase.
Qt-XML API are a bit confusing so I want to avoid it.
QSqlData is bit too much for my app , I have just 3 string per row.
Can I use QSettings API ? , as far I read it is mainly use to store settings based on a key.
Is their any other API, which manages the data.
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100204/8114a903/attachment.html
More information about the Qt-interest-old
mailing list