Sorry , I made mistake in start,
Previously I used
Wrong Code:
process->start("cmd.exe /C ant -buildfile fileName");
QProcess process = new QProcess(this)
process->start("cmd.exe /C ant -buildfile fileName");
To copy to clipboard, switch view to plain text mode
to start the cmd process.
This is wrong,
Now i am using
Correct Code:
process->start("cmd /C ant -buildfile fileName") ;
QProcess process = new QProcess(this)
process->start("cmd /C ant -buildfile fileName") ;
To copy to clipboard, switch view to plain text mode
Now this is working.
Thank u for ur continuous help.
Bookmarks