Hmmmmm Yeah double checking I realized I had commented that ::setenv(..., I do have the path set already on the command line. Interesting, it seems like the environment for the applications in a MAC is non the same as in its terminals.
QString sysPath
= ::getenv("PATH");
sysPath = sysPath + ":" + environment + "/bin";
// ::setenv("PATH", sysPath.toStdString().c_str(), 1);
QString sysPath = ::getenv("PATH");
sysPath = sysPath + ":" + environment + "/bin";
// ::setenv("PATH", sysPath.toStdString().c_str(), 1);
QStringList env = QProcess::systemEnvironment();
To copy to clipboard, switch view to plain text mode
Thank you.
Ed.
Bookmarks