[Qt-interest] QSql doubts

Yuvaraj R yuvaraj at ongobiz.com
Mon Jul 20 06:19:09 CEST 2009


Thanks for your reply..

I want  to save Call and Im history.

Instead of Database, right now i am using Qsettings.is it better compared
with QSql ?

you have said  that give file location to store the History.. I am going to
use like..

please clarify above doubts.

Thanks

Yuvaraj R

On Mon, Jul 20, 2009 at 4:29 AM, Bill King <bill.king at nokia.com> wrote:

> ext Yuvaraj R wrote:
> > once i close my application..
> >
> > Again i login in my app.. will it store my previous details. otherwise
> > i have to go for QSettings
> >
> >
> > Thanks
> >
> > Yuvaraj R
> >
> > On Fri, Jul 17, 2009 at 5:52 PM, Sanderson Coelho
> > <sanderson.coelho at openbossa.org
> > <mailto:sanderson.coelho at openbossa.org>> wrote:
> >
> >     Hi,
> >
> >     addDatabase method does not create a new database, but creates a
> >     new connection to database.
> >     and if this already exists, this is removed and a new connection
> >     is created.
> >
> >
> You can still use sqlite to do this, just change
> db.setDatabaseName(":memory:"); to something like
> db.setDatabaseName("/path/to/localfile"); and whatever you store will be
> persisted to that file.
>
> --
> Bill King, Software Engineer
> Qt Software, Nokia Pty Ltd
> Brisbane Office
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090720/bc73ff22/attachment.html 


More information about the Qt-interest-old mailing list