mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -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()
|
void PluginManager::loadPlugins()
|
||||||
{
|
{
|
||||||
QString applicationDirPath = QCoreApplication::instance()->applicationDirPath();
|
QString applicationDirPath = QCoreApplication::instance()->applicationDirPath();
|
||||||
QString applicationLibPath = applicationDirPath + "/../lib";
|
QString applicationLibPath = applicationDirPath + "/lib/plugins";
|
||||||
qDebug() << "PluginManager::loadPlugins: " << qPrintable(applicationDirPath) << ", " << qPrintable(applicationLibPath);
|
QString applicationBuildPath = applicationDirPath + "/plugins";
|
||||||
|
qDebug() << "PluginManager::loadPlugins: " << qPrintable(applicationLibPath) << "," << qPrintable(applicationBuildPath);
|
||||||
|
|
||||||
QDir pluginsBinDir = QDir(applicationDirPath);
|
QDir pluginsLibDir = QDir(applicationLibPath);
|
||||||
QDir pluginsLibDir = QDir(applicationLibPath);
|
QDir pluginsBuildDir = QDir(applicationBuildPath);
|
||||||
|
|
||||||
loadPlugins(pluginsBinDir);
|
loadPlugins(pluginsLibDir);
|
||||||
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);
|
qSort(m_plugins);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user