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

Move plugin in pim<version>

parent 1a97ec8b
Pipeline #184458 passed with stage
in 3 minutes and 17 seconds
......@@ -18,7 +18,7 @@ kcoreaddons_add_plugin(akonadiplugin
birthdaymodel.h
collectionattribute.h
sendakonadimail.h
INSTALL_NAMESPACE "kalarm"
INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/kalarm"
)
set_target_properties(akonadiplugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/plugins/kalarm")
......
......@@ -43,7 +43,9 @@ void PluginManager::loadPlugins()
mAkonadiPlugin = nullptr;
// Load plugins which are available
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kalarm"));
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(
QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR)) +
QStringLiteral("/kalarm"));
for (const auto& metaData : plugins)
{
......
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