generic: prepare for new kemail library

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-10-15 04:14:27 +03:00
parent 936c69c827
commit 0dda4acb2c
5 changed files with 12 additions and 4 deletions

View file

@ -26,7 +26,10 @@ endif()
kde4_add_plugin(kcm_componentchooser ${kcm_componentchooser_SRCS})
target_link_libraries(kcm_componentchooser ${KDE4_KIO_LIBS})
target_link_libraries(kcm_componentchooser
${KDE4_KIO_LIBS}
${KDE4_KEMAIL_LIBS}
)
install(
TARGETS kcm_componentchooser

View file

@ -11,7 +11,12 @@ kde4_add_kcfg_files(kcm_useraccount_PART_SRCS settings.kcfgc pass.kcfgc)
kde4_add_plugin(kcm_useraccount ${kcm_useraccount_PART_SRCS})
target_link_libraries(kcm_useraccount konq ${KDE4_KIO_LIBS} ${KDE4_KDESU_LIBS})
target_link_libraries(kcm_useraccount
${KDE4_KIO_LIBS}
${KDE4_KEMAIL_LIBS}
${KDE4_KDESU_LIBS}
konq
)
install(
TARGETS kcm_useraccount

View file

@ -142,8 +142,6 @@ void KCMUserAccount::load()
{
_mw->lblUsername->setText(_ku->loginName());
_kes->setProfile(_kes->defaultProfileName());
QString realName = _kes->getSetting( KEMailSettings::RealName );
if (realName.isEmpty()) {

View file

@ -46,6 +46,7 @@ target_link_libraries(plasmagenericshell PUBLIC
${KDE4_PLASMA_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KFILE_LIBS}
${KDE4_KEMAIL_LIBS}
${QT_QTSCRIPT_LIBRARY}
${QT_QTDECLARATIVE_LIBRARY}
${QT_QTUITOOLS_LIBRARY}

View file

@ -27,6 +27,7 @@ kde4_add_plugin(plasma_appletscript_declarative ${declarative_appletscript_SRCS}
target_link_libraries(plasma_appletscript_declarative
${KDE4_PLASMA_LIBS}
${KDE4_KIO_LIBS}
${KDE4_KEMAIL_LIBS}
${QT_QTSCRIPT_LIBRARY}
${QT_QTDECLARATIVE_LIBRARY}
${QT_QTUITOOLS_LIBRARY}