diff main/main.cpp @ 1152:2e83525cf638 3.0-integration

OSX build fixes
author Chris Cannam
date Wed, 27 Apr 2016 11:04:32 +0100
parents b3b5885e7c2c
children aa53e986585e
line wrap: on
line diff
--- a/main/main.cpp	Fri Apr 22 11:15:46 2016 +0100
+++ b/main/main.cpp	Wed Apr 27 11:04:32 2016 +0100
@@ -344,9 +344,15 @@
     helperSuffix = ".exe";
 #endif
     if (!QFile(helperPath + helperSuffix).exists()) {
+        cerr << "NOTE: helper not found at " << (helperPath + helperSuffix)
+             << ", trying in my own directory" << endl;
         helperPath = myDir + "/plugin-checker-helper";
     }
     helperPath += helperSuffix;
+    if (!QFile(helperPath + helperSuffix).exists()) {
+        cerr << "NOTE: helper not found at " << (helperPath + helperSuffix)
+             << endl;
+    }
     PluginScan::getInstance()->scan(helperPath);
     
     // Permit size_t and PropertyName to be used as args in queued signal calls