You don't have to do the check. Just open QSettings object and try to read value for e.g. "UserName" key. If it's not there then the file is not present.
You don't have to do the check. Just open QSettings object and try to read value for e.g. "UserName" key. If it's not there then the file is not present.
Hi,
Thanks for the reply,
If the file is not, I am trying to access, will not throw an error? Could you pls share the code snippet, If you have.
Read more about QSettings especially about QSettings::contains.
Bookmarks