Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMailTransport
Commits
b6f38e0b
Commit
b6f38e0b
authored
Jan 20, 2022
by
Laurent Montel
😁
Browse files
install plugins in kf<version>
parent
bfec2ebf
Pipeline
#125895
passed with stage
in 1 minute and 29 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b6f38e0b
cmake_minimum_required
(
VERSION 3.16 FATAL_ERROR
)
set
(
PIM_VERSION
"5.19.4
0
"
)
set
(
PIM_VERSION
"5.19.4
1
"
)
project
(
MailTransport VERSION
${
PIM_VERSION
}
)
# ECM setup
...
...
src/kmailtransport/plugins/smtp/CMakeLists.txt
View file @
b6f38e0b
if
(
BUILD_TESTING
)
add_subdirectory
(
autotests
)
endif
()
kcoreaddons_add_plugin
(
mailtransport_smtpplugin JSON smtpmailtransport.json INSTALL_NAMESPACE mailtransport
)
kcoreaddons_add_plugin
(
mailtransport_smtpplugin JSON smtpmailtransport.json INSTALL_NAMESPACE
"kf
${
QT_MAJOR_VERSION
}
/
mailtransport
"
)
target_sources
(
mailtransport_smtpplugin PRIVATE
smtpmailtransportplugin.cpp
...
...
src/kmailtransport/plugins/transportpluginmanager.cpp
View file @
b6f38e0b
...
...
@@ -55,7 +55,7 @@ void TransportPluginManagerPrivate::initializePlugins()
if
(
!
mPluginList
.
isEmpty
())
{
return
;
}
const
QVector
<
KPluginMetaData
>
plugins
=
KPluginMetaData
::
findPlugins
(
QStringLiteral
(
"mailtransport"
));
const
QVector
<
KPluginMetaData
>
plugins
=
KPluginMetaData
::
findPlugins
(
QStringLiteral
(
"
kf"
QT_STRINGIFY
(
QT_VERSION_MAJOR
)
"/
mailtransport"
));
QVectorIterator
<
KPluginMetaData
>
i
(
plugins
);
i
.
toBack
();
...
...
src/kmailtransportakonadi/plugins/CMakeLists.txt
View file @
b6f38e0b
kcoreaddons_add_plugin
(
mailtransport_akonadiplugin JSON akonadimailtransport.json INSTALL_NAMESPACE mailtransport
)
kcoreaddons_add_plugin
(
mailtransport_akonadiplugin JSON akonadimailtransport.json INSTALL_NAMESPACE
"kf
${
QT_MAJOR_VERSION
}
/
mailtransport
"
)
target_sources
(
mailtransport_akonadiplugin PRIVATE
akonadimailtransportplugin.cpp
resourcesendjob.cpp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment