On 10/24/19, Murphy, Sean <smur...@walbro.com> wrote:
> I'd like to be able to have QSettings write out my settings to an INI file
> format, but I'd like to avoid writing it to an actual file, instead just
> writing it to "something" in memory (for example, a QString, QByteArray,
> QBuffer, etc.).
>

If "something in memory" is your requirement, you could give QSettings
a filePath on a tmpfs. Then after the QSettings object has gone out of
scope, open that filePath with QFile.

d3fault
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to