Hi,

I would like to setup an Qsetting which stores like username, theme the user used.
Before accessing the Qsetting, I want to Qsetting is present or I will create a new considering user login first time.



Code snippet:
QCoreApplication::setOrganizationName("gghh");
QCoreApplication::setOrganizationDomain("gghh.COM" );
QCoreApplication::setApplicationName("Library");
QCoreApplication::setApplicationVersion("1.0");

QSettings qAppSetUser;
qAppSetUser.setValue("UserName",pstrUserName);
qAppSetUser.setValue("Password",pstrPassword);
qAppSetUser.setValue("NamedUserName","NamedUserNam e");
qAppSetUser.setValue("AccessLevel","Level1");

Query: How to check the Qsetting - qAppSetUser is already exist or not/

Thanks in advance.