On Thu, Jun 27, 2013 at 1:56 PM, André Hartmann
<andre.hartm...@iseg-hv.de>wrote:

> Hello,
>
> > QSettings uses specific locations for storing its contents. I don't
> > think one can specify which file to use to QSettings.
>
> Sure you can. Just use QSettings::IniFormat and see here:
>
> http://doc.qt.digia.com/4.6/qsettings.html#QSettings-4
>
> The only problem I can see is, if you want to store and read non-ASCII
> data. But if I remember correctly, you can also set the file encoding
> with setIniCodec() (since Qt 4.5)
>

Thanks André/René. I somehow missed this API in QSettings.

Regards,
-mandeep



>
> Regards,
> André
>
> >
> > My application already uses QSettings for storing app wide settings.
> >
> > The data I plan to store in the file is sensitive and I'd like to store
> > it in a specific location only (like an encrypted partition). Another
> > way is to store the data after encrypting it but I'm not doing that
> > right now as I don't have a good management facility on my (embedded)
> > platform.
> >
> > -mandeep
> >
> >
> >
> >
> >     André
> >
> >     --
> >     You like Qt?
> >     I am looking for collegues to join me at i-Optics!
> >
> >     _______________________________________________
> >     Interest mailing list
> >     Interest@qt-project.org <mailto:Interest@qt-project.org>
> >     http://lists.qt-project.org/mailman/listinfo/interest
> >
> >
> >
> >
> > _______________________________________________
> > Interest mailing list
> > Interest@qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to