Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
710B

  1. diff --git a/src/qjackctlMainForm.cpp b/src/qjackctlMainForm.cpp
  2. index 2e251d6..6dd57af 100644
  3. --- a/src/qjackctlMainForm.cpp
  4. +++ b/src/qjackctlMainForm.cpp
  5. @@ -1327,7 +1327,8 @@ void qjackctlMainForm::startJack (void)
  6. const QString sPath = QString::fromUtf8(::getenv("PATH"));
  7. QStringList paths = sPath.split(chPathSep);
  8. #if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
  9. - paths = paths << "C:\\Program Files\\Jack" << "C:\\Program Files (x86)\\Jack";
  10. + paths = paths << QString("%1\\JACK2").arg(getenv("PROGRAMFILES"))
  11. + << QString("%1\\JACK2").arg(getenv("PROGRAMFILES(x86)"));
  12. #endif
  13. #if defined(__APPLE__)
  14. paths = paths << "/usr/local/bin/";