Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QFile in memory
HrishiGobler last edited by
One of my already existing interface accepts a file_name. (Further down in the library, it would be open and read).
Now, I have another requirement in which the content of the file has to be in MEMORY ( not to be present physically).
Is there any way thay I can create a File in memory, and may be just pass the QFile (so that, the file could be either physical or in memory)
Thanks in advance
What do you mean with 'in memory'? What do you want to do with it? If you want to read a file into memory use readAll() or read().