[Qt-interest] Data Storage for QT Application

Jefferson Bandeira jbsilva at ufrj.br
Thu Feb 4 18:02:48 CET 2010


I Would go with QSettings, you can redirect it to an ini file in the same
folder as your app and be happy with it =)

2010/2/4 Jason H <scorp1us at yahoo.com>

> 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,
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
Jefferson Bandeira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100204/7d66bf48/attachment.html 


More information about the Qt-interest-old mailing list