I want to run a fortran executable that is called when I click in push button in the interface that I created.
Although when I click in the button nothing happens. Here is the code:
QProcess *process = new QProcess(this);
QString program = QDir::currentPath() + "/PARROT/Console1.exe";
process->start(program);
The string is in that way because I want to be capable of changing the path to the main executable and the fortran executable.
What I'm doing wrong?