[Qt-interest] QSettings issue
M. Bashir Al-Noimi
mbnoimi at gmx.com
Mon Jun 7 14:57:58 CEST 2010
Hi,
You have to provide file name, try to use:
QSettings settings("configs.ini", QSettings::IniFormat);
In the attachment you'll find a snippet I made it during learning how to
use QSettings.
On 07/06/2010 06:14 ص, Yuvraj wrote:
> Hi ,
>
> I am using QSettings to store user name and password and retrieving back.
>
> QSettings settings;
>
> settings.setValue("username", "India");
> settings.setValue("password","xyz");
>
> settings.Value("username");
> settings.Value("password");
>
> I am not getting username and password back.
>
>
> *Note: Not a Admin user.*
>
>
> Thanks
>
> Yuvaraj
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100607/3d6bf87a/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextDatabase.zip
Type: application/x-zip-compressed
Size: 171117 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100607/3d6bf87a/attachment.bin
More information about the Qt-interest-old
mailing list