Commit 3382386d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

install plugin in pim<version>

parent 466e57e3
Pipeline #184396 passed with stage
in 1 minute and 15 seconds
......@@ -37,7 +37,8 @@ ImportMailPluginManager *ImportMailPluginManager::self()
bool ImportMailPluginManager::initializePluginList()
{
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("importwizard"));
const QVector<KPluginMetaData> plugins =
KPluginMetaData::findPlugins(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR)) + QStringLiteral("/importwizard"));
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QVectorIterator<KPluginMetaData> i(plugins);
#else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment