comparison plugin/PiperVampPluginFactory.cpp @ 1483:7459f4c4d7c3

Merge from branch plugin-path-config
author Chris Cannam
date Mon, 11 Jun 2018 14:40:09 +0100
parents c014839f49c7
children c55de1488b93
comparison
equal deleted inserted replaced
1471:85e9b7b31a8d 1483:7459f4c4d7c3
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 \""