> > So I guess I can use QFile to create my own file, do what I need to
> > do, then remove it myself when I'm done, but is there any alternative
> > way to get what I want - QSetting written to a QString?
> 
> There are overloads of QFile::open() that take a system file handle / file
> descriptor. This one can point to memory. Anyhow, I guess you'll end up
> with platform specific code there ...

But how would I get QSettings to write to there? QSettings doesn't have 
an open(). All it has is one of its constructors takes a QString as a filename, 
and then it opens that file under the hood. So all you can pass to QSettings
is a file NAME. Not a pointer, not a file handle/descriptor.

Sean


This message has been scanned for malware by Forcepoint. www.forcepoint.com
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to