It goes well when using QProcess to start a program if its path without space.
eg:
QProcess app;
app.startDetached("open /Users/test/Desktop/MyTest/Hello.app");
But, it doesn't work if the program path containing spaces.
eg:
QProcess app;
app.startDetached("open /Users/test/Desktop/My Test/Hello.app");
Someone can help me and tell me how to start a program with space in its path?
Thanks!