| 61 | QStringList loadedPluginNames; |
| 62 | |
| 63 | foreach (const auto &staticPlugin, QPluginLoader::staticPlugins()) { |
| 64 | PluginInfo pluginInfo(staticPlugin); |
| 65 | |
| 66 | if (!pluginInfo.isValid() || loadedPluginNames.contains(pluginInfo.id()) || pluginInfo.interfaceId() != serviceType) { |
| 67 | qDebug() << "skipping static plugin " << pluginInfo.id() << pluginInfo.interfaceId(); |
| 68 | continue; |
| 69 | } |
| 70 | |
| 71 | if (createProxyFactory(pluginInfo, m_parent)) |
| 72 | loadedPluginNames.push_back(pluginInfo.id()); |
| 73 | } |
| 74 | |
| 75 | foreach (const QString &pluginPath, pluginPaths()) { |
| 76 | const QDir dir(pluginPath); |
nothing calls this directly
no test coverage detected