[Qt-interest] QSql doubts
Yuvaraj R
yuvaraj at ongobiz.com
Mon Jul 20 06:32:37 CEST 2009
Thanks Bill
QSettings is working fine in my application according to my senario..
And i have one more doubt ,Will it increase the Application Size ?,where
the saved datas are stored..
Then i tried with local file,i created one text file and tried to save
the contents there.. But application is crashing ,ok i will solve that
problem..
My only thing whatever i saved ,that datas will be displaying ,once i login
in my application.
Thanks
Yuvaraj R
On Mon, Jul 20, 2009 at 9:51 AM, Bill King <bill.king at nokia.com> wrote:
> Theoretically it should be faster than QSettings. Usually it is,
> especially if you index the right fields. Generally, when trying
> something like this I write a bunch of unit tests, or a test
> application, and run a comparison run between the two, get timings, etc.
>
> ext Yuvaraj R wrote:
> > 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
> > <mailto: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>
> > > <mailto: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
> >
> >
>
>
> --
> 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/af9e24a2/attachment.html
More information about the Qt-interest-old
mailing list