Commit d540f826 authored by Laurent Montel's avatar Laurent Montel
Browse files

install plugins in pim5 it's more logical

parent af100fac
Pipeline #265648 passed with stage
in 2 minutes and 4 seconds
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()
kcoreaddons_add_plugin(mailtransport_smtpplugin INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/mailtransport")
kcoreaddons_add_plugin(mailtransport_smtpplugin INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/mailtransport")
target_sources(mailtransport_smtpplugin PRIVATE
smtpmailtransportplugin.cpp
......
......@@ -55,7 +55,7 @@ void TransportPluginManagerPrivate::initializePlugins()
if (!mPluginList.isEmpty()) {
return;
}
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/mailtransport"));
const QVector<KPluginMetaData> plugins = KPluginMetaData::findPlugins(QStringLiteral("pim" QT_STRINGIFY(QT_VERSION_MAJOR) "/mailtransport"));
QVectorIterator<KPluginMetaData> i(plugins);
i.toBack();
......
kcoreaddons_add_plugin(mailtransport_akonadiplugin INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/mailtransport")
kcoreaddons_add_plugin(mailtransport_akonadiplugin INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/mailtransport")
target_sources(mailtransport_akonadiplugin PRIVATE
akonadimailtransportplugin.cpp
resourcesendjob.cpp
......
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