Set plugins path for Android

pull/1539/head
Jon Beniston 2022-12-20 11:15:36 +00:00
rodzic e023611bf2
commit 92e348afa2
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -88,6 +88,8 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir)
// By default it searches in `$applicationDir/../lib/SoapySDR/`, which on Windows
// is incorrect as both `bin` and `lib` dir are set to root application dir.
qputenv("SOAPY_SDR_ROOT", applicationDirPath.toLocal8Bit());
#elif defined(ANDROID)
PluginsPath = QStringList({applicationDirPath});
#endif
// NOTE: exit on the first folder found