Hello guys

I'd like to delete program using QProcess.

My code "pp.exe"
//////////////////////////
QProcess *pro = new QProcess(0); //

connect( pro, SIGNAL(started()), this, SLOT(slotStart()) ); // 연결해서
...
void slotStart() { close(); }
...
pro->start("tt.exe");

/////////////////////////////////

so, i made "tt.exe" for deleting pp.exe file.

you know this can not use it because of instance.

then how should i solve it?


thanks for watching.

.