Hi to all
Is it necessary to delete QProcess objects which are created using new operator.
Hi to all
Is it necessary to delete QProcess objects which are created using new operator.
How is this related to ReadStdout ?
If it has a parent, then it'll be deleted automatically when parent object is deleted (as its derived from QObject).
If not, then you must delete it, if you don't want to have a memory leak. Process managed by QProcess object may be finished, but still you have memory associated with the QProcess object itself.
Bookmarks