Hi everyone!
I am trying to open a qprocess that must open a .bat file that will compile another file. This is what I tried:
QProcess p;
p.start("C:/beez.bat", QStringList() << "E:/files/test.sma");
p.waitForFinished();
I also tried this:
QProcess::startDetached("C:/beez.bat E:/files/test.sma");
When I execute this code, it just open the batch file without opening the .sma file (an extension I created). I can modify the sequence, I have to use the .bat file to opening it. Can you help me?
Best Regards
iRobot.
↧