drumstick: 1.1.3 -> 2.1.1

This commit is contained in:
Orivej Desh
2021-04-26 21:35:06 +00:00
parent 2d9689351c
commit 1cf7f3cf6b
3 changed files with 11 additions and 15 deletions
@@ -1,12 +1,14 @@
Make it look for its plugin in its own installation directory.
Without this vmpk fails to start with "Unable to initialize all MIDI drivers".
--- a/library/rt/backendmanager.cpp
+++ b/library/rt/backendmanager.cpp
@@ -159,6 +159,7 @@ namespace rt {
foreach(const QString& path, QCoreApplication::libraryPaths()) {
d->appendDir( path + QDir::separator() + QSTR_DRUMSTICK, result );
}
+ d->appendDir( "@out@/lib/drumstick", result );
+ d->appendDir( "@out@/lib/" + QSTR_DRUMSTICK, result );
return result;
}