mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
Set plugins path for Android
This commit is contained in:
parent
e023611bf2
commit
92e348afa2
@ -88,6 +88,8 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir)
|
|||||||
// By default it searches in `$applicationDir/../lib/SoapySDR/`, which on Windows
|
// 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.
|
// is incorrect as both `bin` and `lib` dir are set to root application dir.
|
||||||
qputenv("SOAPY_SDR_ROOT", applicationDirPath.toLocal8Bit());
|
qputenv("SOAPY_SDR_ROOT", applicationDirPath.toLocal8Bit());
|
||||||
|
#elif defined(ANDROID)
|
||||||
|
PluginsPath = QStringList({applicationDirPath});
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// NOTE: exit on the first folder found
|
// NOTE: exit on the first folder found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user