Reputation: 36171
QProcess simply doesn't display the black console window.
This is the code I use:
QProcess*p=new QProcess(this);
p->start("cmd.exe");
Replacing cmd.exe with calc.exe successfully launches the calculator.
Upvotes: 4
Views: 3794