comparison 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
comparison
equal deleted inserted replaced
1151:e0aa911e1a8a 1152:2e83525cf638
342 QString helperSuffix = ""; 342 QString helperSuffix = "";
343 #ifdef _WIN32 343 #ifdef _WIN32
344 helperSuffix = ".exe"; 344 helperSuffix = ".exe";
345 #endif 345 #endif
346 if (!QFile(helperPath + helperSuffix).exists()) { 346 if (!QFile(helperPath + helperSuffix).exists()) {
347 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix)
348 << ", trying in my own directory" << endl;
347 helperPath = myDir + "/plugin-checker-helper"; 349 helperPath = myDir + "/plugin-checker-helper";
348 } 350 }
349 helperPath += helperSuffix; 351 helperPath += helperSuffix;
352 if (!QFile(helperPath + helperSuffix).exists()) {
353 cerr << "NOTE: helper not found at " << (helperPath + helperSuffix)
354 << endl;
355 }
350 PluginScan::getInstance()->scan(helperPath); 356 PluginScan::getInstance()->scan(helperPath);
351 357
352 // Permit size_t and PropertyName to be used as args in queued signal calls 358 // Permit size_t and PropertyName to be used as args in queued signal calls
353 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName"); 359 qRegisterMetaType<PropertyContainer::PropertyName>("PropertyContainer::PropertyName");
354 360