Commit 1c634487 authored by Laurent Montel's avatar Laurent Montel 😁

Add KF5::I18n

parent 89f5a90b
......@@ -21,6 +21,7 @@ target_link_libraries(akonadimailreader
KF5::Libkleo
KF5::MessageList
KF5::MessageViewer
KF5::I18n
)
install(TARGETS akonadimailreader ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......
......@@ -5,7 +5,7 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
add_akonadi_isolated_test_advanced( gravatarupdatejobtest.cpp "../job/gravatarupdatejob.cpp" "KF5::PimCommon;KF5::Contacts;KF5::Gravatar")
add_akonadi_isolated_test_advanced( gravatarupdatejobtest.cpp "../job/gravatarupdatejob.cpp" "KF5::PimCommon;KF5::Contacts;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatedialogtest.cpp "../widgets/gravatarupdatedialog.cpp;../widgets/gravatarupdatewidget.cpp" "KF5::PimCommon;KF5::Gravatar")
add_akonadi_isolated_test_advanced( gravatarupdatewidgettest.cpp "../widgets/gravatarupdatewidget.cpp" "KF5::PimCommon;KF5::Gravatar")
add_akonadi_isolated_test_advanced( gravatarupdatedialogtest.cpp "../widgets/gravatarupdatedialog.cpp;../widgets/gravatarupdatewidget.cpp" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatewidgettest.cpp "../widgets/gravatarupdatewidget.cpp" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
......@@ -6,5 +6,6 @@ target_link_libraries(gravatarupdatedialog_gui
Qt5::Gui
KF5::PimCommon
KF5::Gravatar
KF5::I18n
)
......@@ -12,7 +12,7 @@ ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin_SRCS HEADER kaddre
add_library(kaddressbook_sendvcardsplugin MODULE ${kaddressbook_sendvcardsplugin_SRCS})
target_link_libraries(kaddressbook_sendvcardsplugin
KF5::PimCommon KF5::Completion KF5::IconThemes KF5::MailCommon KF5::XmlGui KF5::MimeTreeParser
KF5::PimCommon KF5::Completion KF5::IconThemes KF5::MailCommon KF5::XmlGui KF5::MimeTreeParser KF5::I18n
)
install(TARGETS kaddressbook_sendvcardsplugin DESTINATION ${PLUGIN_INSTALL_DIR}/kaddressbook)
......
......@@ -5,4 +5,4 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
add_akonadi_isolated_test_advanced( sendvcardsjobtest.cpp "../sendvcardsjob.cpp;../kaddressbook_sendvcardsplugin_debug.cpp" "KF5::Contacts;KF5::PimCommon;KF5::MimeTreeParser")
add_akonadi_isolated_test_advanced( sendvcardsjobtest.cpp "../sendvcardsjob.cpp;../kaddressbook_sendvcardsplugin_debug.cpp" "KF5::Contacts;KF5::PimCommon;KF5::MimeTreeParser;KF5::I18n")
......@@ -34,7 +34,7 @@ set(pimcommon_shorturlplugin_shorturllib_SRCS
add_library(pimcommon_shorturlplugin MODULE ${pimcommon_shorturlplugin_SRCS} ${pimcommon_shorturlplugin_shorturllib_SRCS})
target_link_libraries(pimcommon_shorturlplugin
KF5::PimCommon KF5::XmlGui KF5::Completion KF5::KIOWidgets KF5::Libkdepim shorturlpluginprivate
KF5::PimCommon KF5::XmlGui KF5::Completion KF5::KIOWidgets KF5::Libkdepim shorturlpluginprivate KF5::I18n
)
install(TARGETS pimcommon_shorturlplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......
......@@ -8,7 +8,7 @@ set(shorturlengineswigets_SRCS
set(shorturlwidgetng_gui_SRCS shorturlwidgetng_gui.cpp shorturlmainwidgetng.cpp ${shorturlengineswigets_SRCS})
add_executable(shorturlwidgetng_gui ${shorturlwidgetng_gui_SRCS})
target_link_libraries(shorturlwidgetng_gui
KF5::PimCommon KF5::Completion KF5::KIOWidgets KF5::Libkdepim KF5::XmlGui shorturlpluginprivate
KF5::PimCommon KF5::Completion KF5::KIOWidgets KF5::Libkdepim KF5::XmlGui shorturlpluginprivate KF5::I18n
)
......@@ -5,7 +5,7 @@ set(messageviewer_bodypartformatter_text_vcard_PART_SRCS text_vcard.cpp vcardmem
ecm_qt_declare_logging_category(messageviewer_bodypartformatter_text_vcard_PART_SRCS HEADER vcard_debug.h IDENTIFIER VCARD_LOG CATEGORY_NAME log_vcard)
add_library(messageviewer_bodypartformatter_text_vcard MODULE ${messageviewer_bodypartformatter_text_vcard_PART_SRCS})
target_link_libraries(messageviewer_bodypartformatter_text_vcard KF5::Contacts KF5::Libkdepim KF5::MessageViewer KF5::IconThemes KF5::JobWidgets)
target_link_libraries(messageviewer_bodypartformatter_text_vcard KF5::Contacts KF5::Libkdepim KF5::MessageViewer KF5::IconThemes KF5::JobWidgets KF5::I18n)
install(TARGETS messageviewer_bodypartformatter_text_vcard DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES text_vcard.desktop DESTINATION ${KDE_INSTALL_DATADIR}/messageviewer/plugins/bodypartformatter)
......@@ -10,6 +10,7 @@ target_link_libraries(messageviewer_allheaderstyleplugin
KF5::MessageViewer
KF5::XmlGui
KF5::GrantleeTheme
KF5::I18n
)
install(TARGETS messageviewer_allheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -11,6 +11,7 @@ target_link_libraries(messageviewer_briefheaderstyleplugin
KF5::MessageViewer
KF5::XmlGui
KF5::GrantleeTheme
KF5::I18n
)
install(TARGETS messageviewer_briefheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -10,6 +10,7 @@ target_link_libraries(messageviewer_enterpriseheaderstyleplugin
KF5::MessageViewer
KF5::GrantleeTheme
KF5::XmlGui
KF5::I18n
)
install(TARGETS messageviewer_enterpriseheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -11,6 +11,7 @@ target_link_libraries(messageviewer_fancyheaderstyleplugin
KF5::GrantleeTheme
KF5::XmlGui
KF5::IconThemes
KF5::I18n
)
install(TARGETS messageviewer_fancyheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -9,6 +9,7 @@ target_link_libraries(messageviewer_longheaderstyleplugin
KF5::MessageViewer
KF5::GrantleeTheme
KF5::XmlGui
KF5::I18n
)
install(TARGETS messageviewer_longheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -10,6 +10,7 @@ target_link_libraries(messageviewer_standardsheaderstyleplugin
KF5::MessageViewer
KF5::XmlGui
KF5::GrantleeTheme
KF5::I18n
)
install(TARGETS messageviewer_standardsheaderstyleplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......@@ -4,5 +4,6 @@ target_link_libraries(headerstylemenu_gui
KF5::MessageViewer
KF5::XmlGui
KF5::GrantleeTheme
KF5::I18n
)
......@@ -6,7 +6,7 @@ set(messageviewer_expandurlplugin_SRCS
add_library(messageviewer_expandurlplugin MODULE ${messageviewer_expandurlplugin_SRCS})
target_link_libraries(messageviewer_expandurlplugin
KF5::MessageViewer KF5::XmlGui KF5::Libkdepim
KF5::MessageViewer KF5::XmlGui KF5::Libkdepim KF5::I18n
)
install(TARGETS messageviewer_expandurlplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......
......@@ -8,7 +8,7 @@ ecm_qt_declare_logging_category(messageviewer_externalscriptplugin_SRCS HEADER e
add_library(messageviewer_externalscriptplugin MODULE ${messageviewer_externalscriptplugin_SRCS})
target_link_libraries(messageviewer_externalscriptplugin
KF5::MessageViewer KF5::XmlGui
KF5::MessageViewer KF5::XmlGui KF5::I18n
)
install(TARGETS messageviewer_externalscriptplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......
......@@ -16,6 +16,7 @@ target_link_libraries(messageviewer_adblockplugin
adblocklibprivate
KF5::KIOWidgets
KF5::XmlGui
KF5::I18n
)
install(TARGETS messageviewer_adblockplugin DESTINATION ${PLUGIN_INSTALL_DIR}/messageviewer)
......
......@@ -4,7 +4,7 @@ ecm_qt_declare_logging_category(messageviewer_adblock_test_common_SRCS HEADER ad
ecm_add_test(adblockmanagertest.cpp ${messageviewer_adblock_test_common_SRCS}
TEST_NAME adblockmanagertest
NAME_PREFIX "messageviewer-urlinterceptor-"
LINK_LIBRARIES Qt5::Test Qt5::Widgets adblocklibprivate KF5::ItemViews Qt5::WebEngine Qt5::WebEngineWidgets KF5::KIOWidgets
LINK_LIBRARIES Qt5::Test Qt5::Widgets adblocklibprivate KF5::ItemViews Qt5::WebEngine Qt5::WebEngineWidgets KF5::KIOWidgets KF5::I18n
)
......@@ -12,4 +12,4 @@ set( adblockpluginurlinterceptortest_SRCS ${messageviewer_adblock_test_common_SR
add_executable( adblockpluginurlinterceptortest ${adblockpluginurlinterceptortest_SRCS})
add_test(adblockpluginurlinterceptortest adblockpluginurlinterceptortest)
ecm_mark_as_test(adblockpluginurlinterceptortest)
target_link_libraries( adblockpluginurlinterceptortest Qt5::Test Qt5::Widgets adblocklibprivate KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::ItemViews KF5::KIOWidgets KF5::XmlGui)
target_link_libraries( adblockpluginurlinterceptortest Qt5::Test Qt5::Widgets adblocklibprivate KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::ItemViews KF5::KIOWidgets KF5::XmlGui KF5::I18n)
......@@ -6,7 +6,7 @@ set( adblockpluginurlinterceptorconfigurewidgettest_SRCS ${messageviewer_adblock
add_executable( adblockpluginurlinterceptorconfigurewidgettest ${adblockpluginurlinterceptorconfigurewidgettest_SRCS})
add_test(adblockpluginurlinterceptorconfigurewidgettest adblockpluginurlinterceptorconfigurewidgettest)
ecm_mark_as_test(adblockpluginurlinterceptorconfigurewidgettest)
target_link_libraries( adblockpluginurlinterceptorconfigurewidgettest adblocklibprivate Qt5::Test Qt5::Widgets KF5::MessageViewer KF5::ItemViews Qt5::WebEngine Qt5::WebEngineWidgets KF5::KIOWidgets)
target_link_libraries( adblockpluginurlinterceptorconfigurewidgettest adblocklibprivate Qt5::Test Qt5::Widgets KF5::MessageViewer KF5::ItemViews Qt5::WebEngine Qt5::WebEngineWidgets KF5::KIOWidgets KF5::I18n)
set( adblockblockableitemsdialogtest_SRCS ${messageviewer_adblock_test_common_SRCS} adblockblockableitemsdialogtest.cpp)
......
......@@ -6,7 +6,7 @@ set(pimcommon_boxplugin_SRCS
add_library(pimcommon_boxplugin MODULE ${pimcommon_boxplugin_SRCS} )
target_link_libraries(pimcommon_boxplugin
KF5::PimCommon
KF5::PimCommon KF5::I18n
)
install(TARGETS pimcommon_boxplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......@@ -7,6 +7,7 @@ add_library(pimcommon_dropboxplugin MODULE ${pimcommon_dropboxplugin_SRCS} )
target_link_libraries(pimcommon_dropboxplugin
KF5::PimCommon
KF5::I18n
)
install(TARGETS pimcommon_dropboxplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......@@ -7,6 +7,7 @@ add_library(pimcommon_gdriveplugin MODULE ${pimcommon_gdriveplugin_SRCS} )
target_link_libraries(pimcommon_gdriveplugin
KF5::PimCommon
KF5::I18n
)
install(TARGETS pimcommon_gdriveplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......@@ -7,6 +7,7 @@ add_library(pimcommon_hubicplugin MODULE ${pimcommon_hubicplugin_SRCS} )
target_link_libraries(pimcommon_hubicplugin
KF5::PimCommon
KF5::I18n
)
install(TARGETS pimcommon_hubicplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......@@ -7,6 +7,7 @@ add_library(pimcommon_webdavplugin MODULE ${pimcommon_webdavplugin_SRCS} )
target_link_libraries(pimcommon_webdavplugin
KF5::PimCommon
KF5::I18n
)
install(TARGETS pimcommon_webdavplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
......@@ -7,6 +7,7 @@ add_library(pimcommon_yousenditplugin MODULE ${pimcommon_yousenditplugin_SRCS} )
target_link_libraries(pimcommon_yousenditplugin
KF5::PimCommon
KF5::I18n
)
install(TARGETS pimcommon_yousenditplugin DESTINATION ${PLUGIN_INSTALL_DIR}/pimcommon)
Markdown is supported
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