Suppose I have a Qfile, I call on file.readAll()
This returns a bytearray containing the contents of the file.
Since it does not return a pointer, you cannot delete the returned value.
So how does Qt avoid memory leaks?
Is there a reference counting system?


Reply With Quote

Bookmarks