Mercurial > hg > svcore
comparison plugin/PluginScan.cpp @ 1352:f98fde50570b 3.0-integration
Add checker README; rename plugin-checker-helper binary (back) to vamp-plugin-load-checker -- I decided it was more useful to have a distinctive name for the installed binary than it was important to show that it was plugin-agnostic
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2017 10:14:59 +0000 |
parents | 0be27c989c1d |
children | 0bbf91b05164 |
comparison
equal
deleted
inserted
replaced
1351:9fb01c914935 | 1352:f98fde50570b |
---|---|
70 | 70 |
71 HelperExecPath hep(inProcess ? | 71 HelperExecPath hep(inProcess ? |
72 HelperExecPath::NativeArchitectureOnly : | 72 HelperExecPath::NativeArchitectureOnly : |
73 HelperExecPath::AllInstalled); | 73 HelperExecPath::AllInstalled); |
74 | 74 |
75 QString helperName("plugin-checker-helper"); | 75 QString helperName("vamp-plugin-load-checker"); |
76 auto helpers = hep.getHelperExecutables(helperName); | 76 auto helpers = hep.getHelperExecutables(helperName); |
77 | 77 |
78 clear(); | 78 clear(); |
79 | 79 |
80 for (auto p: helpers) { | 80 for (auto p: helpers) { |
188 QMutexLocker locker(&m_mutex); | 188 QMutexLocker locker(&m_mutex); |
189 | 189 |
190 if (!m_succeeded) { | 190 if (!m_succeeded) { |
191 return QObject::tr("<b>Failed to scan for plugins</b>" | 191 return QObject::tr("<b>Failed to scan for plugins</b>" |
192 "<p>Failed to scan for plugins at startup. Possibly " | 192 "<p>Failed to scan for plugins at startup. Possibly " |
193 "the plugin checker helper program was not correctly " | 193 "the plugin checker program was not correctly " |
194 "installed alongside %1?</p>") | 194 "installed alongside %1?</p>") |
195 .arg(QCoreApplication::applicationName()); | 195 .arg(QCoreApplication::applicationName()); |
196 } | 196 } |
197 if (m_kp.empty()) { | 197 if (m_kp.empty()) { |
198 return QObject::tr("<b>Did not scan for plugins</b>" | 198 return QObject::tr("<b>Did not scan for plugins</b>" |