Commit ce1f7ca7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Install plugins in pim<version>

parent 3bde838a
Pipeline #184086 passed with stage
in 7 minutes
......@@ -74,7 +74,8 @@ private:
bool PluginManagerPrivate::initializePlugins()
{
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kaddressbook/importexportplugin"));
const QVector<KPluginMetaData> plugins =
KPluginMetaData::findPlugins(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR)) + QStringLiteral("/kaddressbook/importexportplugin"));
const QPair<QStringList, QStringList> pair = PimCommon::PluginUtil::loadPluginSetting(configGroupName(), configPrefixSettingKey());
......
......@@ -15,7 +15,7 @@ KAddressBookPluginInterface::KAddressBookPluginInterface(QObject *parent)
: PimCommon::PluginInterface(parent)
{
setPluginName(QStringLiteral("kaddressbook"));
setPluginDirectory(QStringLiteral("kaddressbook/mainview"));
setPluginDirectory(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR)) + QStringLiteral("/kaddressbook/mainview"));
}
KAddressBookPluginInterface::~KAddressBookPluginInterface() = default;
......
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