[Interest] ** Caution Message may be spoofed ** Re: Write QSettings to a QString in INI format

Murphy, Sean smurphy at walbro.com
Sat Oct 26 18:09:19 CEST 2019

> I suggest QTemporaryDir instead.

Thanks Thiago,
So just create the QTemporaryDir, then feed that path (along with an appended filename) to QSettings, allow it to create the INI file within the temporary directory, and then let QTemporaryDir clean up that directory when it goes out of scope? 

I'm fine with that approach, unless there is any way to avoid the file system altogether that I'm not seeing?


This message has been scanned for malware by Forcepoint. www.forcepoint.com

More information about the Interest mailing list