|
|
@ -151,10 +151,10 @@ sint main(int argc, char **argv)
|
|
|
|
ExtensionSystem::PluginManager pluginManager;
|
|
|
|
ExtensionSystem::PluginManager pluginManager;
|
|
|
|
pluginManager.setSettings(settings);
|
|
|
|
pluginManager.setSettings(settings);
|
|
|
|
QStringList pluginPaths;
|
|
|
|
QStringList pluginPaths;
|
|
|
|
#if !defined(NL_OS_MAC)
|
|
|
|
#if defined(NL_OS_MAC)
|
|
|
|
pluginPaths << settings->value("PluginPath", "./plugins").toString();
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
pluginPaths << settings->value("PluginPath", qApp->applicationDirPath() + QString("/../PlugIns/ovqt")).toString();
|
|
|
|
pluginPaths << settings->value("PluginPath", qApp->applicationDirPath() + QString("/../PlugIns/ovqt")).toString();
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
pluginPaths << settings->value("PluginPath", QString("%1/plugins").arg(DATA_DIR)).toString();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
pluginManager.setPluginPaths(pluginPaths);
|
|
|
|
pluginManager.setPluginPaths(pluginPaths);
|
|
|
|