diff src/main.cpp @ 567:dd344309667f

Some work on macOS deployment - trying to get this one working with sandboxing. File saving is currently not working (temporary file write failing perhaps?)
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 19 Feb 2019 17:46:01 +0000
parents 702a70e48ca9
children 3f0b44418a19
line wrap: on
line diff
--- a/src/main.cpp	Mon Feb 18 20:26:36 2019 +0000
+++ b/src/main.cpp	Tue Feb 19 17:46:01 2019 +0000
@@ -166,7 +166,9 @@
         QString defaultTonyPath(programFiles + "\\Tony");
         tonyVampPath = tonyVampPath + sep + defaultTonyPath;
 #else
-#ifndef Q_OS_MAC
+#ifdef Q_OS_MAC
+        tonyVampPath = tonyVampPath + "/../Resources:" + tonyVampPath;
+#else
         QString defaultTonyPath("/usr/local/lib/tony:/usr/lib/tony");
         tonyVampPath = tonyVampPath + sep + defaultTonyPath;
 #endif