comparison plugin/PiperVampPluginFactory.cpp @ 1482:c014839f49c7 plugin-path-config

Record path associated with first helper found for a plugin, not last (so native helper in preference to 32-bit helper). Also more debug output
author Chris Cannam
date Mon, 11 Jun 2018 11:34:11 +0100
parents cee1be4fb8c1
children c55de1488b93
comparison
equal deleted inserted replaced
1481:75fe1c1e003f 1482:c014839f49c7
215 for (const auto &c: candidateLibraries) { 215 for (const auto &c: candidateLibraries) {
216 if (c.helperTag == tag) { 216 if (c.helperTag == tag) {
217 string soname = QFileInfo(c.libraryPath).baseName().toStdString(); 217 string soname = QFileInfo(c.libraryPath).baseName().toStdString();
218 SVDEBUG << "INFO: For tag \"" << tag << "\" giving library " << soname << endl; 218 SVDEBUG << "INFO: For tag \"" << tag << "\" giving library " << soname << endl;
219 from.push_back(soname); 219 from.push_back(soname);
220 m_libraries[QString::fromStdString(soname)] = c.libraryPath; 220 QString qsoname = QString::fromStdString(soname);
221 if (m_libraries.find(qsoname) == m_libraries.end()) {
222 m_libraries[qsoname] = c.libraryPath;
223 }
221 } 224 }
222 } 225 }
223 226
224 if (from.empty()) { 227 if (from.empty()) {
225 SVDEBUG << "PiperVampPluginFactory: No candidate libraries for tag \"" 228 SVDEBUG << "PiperVampPluginFactory: No candidate libraries for tag \""