# HG changeset patch # User Chris Cannam # Date 1478009207 0 # Node ID e93ad534c1cb2adb67326f12787618b8db7f499f # Parent 6038fb7a8f09d9245aaf0a5dc813706dbfdf3b2e Support multiple plugin checker helpers, as for multiple piper servers diff -r 6038fb7a8f09 -r e93ad534c1cb .hgsubstate --- a/.hgsubstate Tue Nov 01 12:09:05 2016 +0000 +++ b/.hgsubstate Tue Nov 01 14:06:47 2016 +0000 @@ -7,6 +7,6 @@ bcfadce0b8acf66565fadfe50f3aaffbeb6e5c1c piper-cpp e1712f7d74a455337591091a57beba2f0443b9dd sv-dependency-builds e59e66d8208d89f38c8cfda0a29cdda48056b32d svapp -42a4b058f8ba26c7bf35edf70784a1934e6b4d47 svcore +c6bdf247016a9f264a05082f9725b93171d17dac svcore 8a5f0c8d56089170062e94c70f369292b06a6c12 svgui 79a219ba617862adffd78925f1571e5c96760e0a vamp-plugin-sdk diff -r 6038fb7a8f09 -r e93ad534c1cb main/main.cpp --- a/main/main.cpp Tue Nov 01 12:09:05 2016 +0000 +++ b/main/main.cpp Tue Nov 01 14:06:47 2016 +0000 @@ -342,26 +342,8 @@ StoreStartupLocale(); // Make known-plugins query as early as possible after showing - // splash screen. This depends on our helper executable, which - // must exist either in the same directory as this one or - // (preferably) a subdirectory called "checker". - QString myDir = application.applicationDirPath(); - QString helperPath = myDir + "/checker/plugin-checker-helper"; - QString helperSuffix = ""; -#ifdef _WIN32 - 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"; - } - if (!QFile(helperPath + helperSuffix).exists()) { - cerr << "NOTE: helper not found at " << (helperPath + helperSuffix) - << endl; - } - helperPath += helperSuffix; - PluginScan::getInstance()->scan(helperPath); + // splash screen. + PluginScan::getInstance()->scan(); // Permit size_t and PropertyName to be used as args in queued signal calls qRegisterMetaType("PropertyContainer::PropertyName");