| 121 | } |
| 122 | |
| 123 | QStringList decoderHM::getLibraryNames() const |
| 124 | { |
| 125 | // If the file name is not set explicitly, QLibrary will try to open the .so file first. |
| 126 | // Since this has been compiled for linux it will fail and not even try to open the .dylib. |
| 127 | // On windows and linux ommitting the extension works |
| 128 | auto names = |
| 129 | is_Q_OS_MAC ? QStringList() << "libHMDecoder.dylib" : QStringList() << "libHMDecoder"; |
| 130 | |
| 131 | return names; |
| 132 | } |
| 133 | |
| 134 | void decoderHM::resolveLibraryFunctionPointers() |
| 135 | { |