mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Server version: changed plugin lookup locations
This commit is contained in:
parent
3169083013
commit
20c69adedf
@ -56,14 +56,24 @@ PluginManager::~PluginManager()
|
||||
void PluginManager::loadPlugins()
|
||||
{
|
||||
QString applicationDirPath = QCoreApplication::instance()->applicationDirPath();
|
||||
QString applicationLibPath = applicationDirPath + "/../lib";
|
||||
qDebug() << "PluginManager::loadPlugins: " << qPrintable(applicationDirPath) << ", " << qPrintable(applicationLibPath);
|
||||
QString applicationLibPath = applicationDirPath + "/lib/plugins";
|
||||
QString applicationBuildPath = applicationDirPath + "/plugins";
|
||||
qDebug() << "PluginManager::loadPlugins: " << qPrintable(applicationLibPath) << "," << qPrintable(applicationBuildPath);
|
||||
|
||||
QDir pluginsBinDir = QDir(applicationDirPath);
|
||||
QDir pluginsLibDir = QDir(applicationLibPath);
|
||||
QDir pluginsBuildDir = QDir(applicationBuildPath);
|
||||
|
||||
loadPlugins(pluginsBinDir);
|
||||
loadPlugins(pluginsLibDir);
|
||||
loadPlugins(pluginsBuildDir);
|
||||
|
||||
// QString applicationLibPath = applicationDirPath + "/../lib/plugins";
|
||||
// qDebug() << "PluginManager::loadPlugins: " << qPrintable(applicationDirPath) << ", " << qPrintable(applicationLibPath);
|
||||
//
|
||||
// QDir pluginsBinDir = QDir(applicationDirPath);
|
||||
// QDir pluginsLibDir = QDir(applicationLibPath);
|
||||
//
|
||||
// loadPlugins(pluginsBinDir);
|
||||
// loadPlugins(pluginsLibDir);
|
||||
|
||||
qSort(m_plugins);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user