[SOLVED] Trying to Run GlovePIE with parameters
-
I am trying to open GlovePIE with a script already loaded. Via command line this can be easily accomplished by (while in the correct folder) calling "GlovePIE.exe scriptname.PIE". However, when trying to get this to run on a button press using:
@
void MainWindow::runGlovePIE()
{
QProcess::startDetached("GlovePIE.exe");
}
@This just opens the program, but any attempts I've made to open it with extra parameters (even with answers from this forum have not succeeded). Any suggestions?
-
Did you try "startDetached with parameter list":https://qt-project.org/doc/qt-4.8/qprocess.html#startDetached-2 ?