Commit d3d9a33b authored by Laurent Montel's avatar Laurent Montel 😁

Remove dependency against Qt5::Xml

parent 1d9ddf15
......@@ -33,7 +33,7 @@ set(KIMAP_LIB_VERSION "5.5.40")
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test Xml PrintSupport WebEngine WebEngineWidgets)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test PrintSupport WebEngine WebEngineWidgets)
find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DocTools ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5KIO ${KF5_VERSION} CONFIG REQUIRED)
......
......@@ -230,7 +230,6 @@ target_link_libraries(KF5KSieveUi
KF5::KManageSieve
KF5::KSieve
KF5::PimCommon
Qt5::Xml
PRIVATE
KF5::Libkdepim
KF5::Archive
......@@ -336,7 +335,7 @@ ecm_generate_headers(ksieveui_Camelcasewidgets_HEADERS
ecm_generate_pri_file(BASE_NAME KSieveUi
LIB_NAME KF5KSieveUi
DEPS "KManageSieve KSieve PimCommon Xml" FILENAME_VAR PRI_FILENAME
DEPS "KManageSieve KSieve PimCommon" FILENAME_VAR PRI_FILENAME
)
......
......@@ -12,7 +12,7 @@ macro(add_sieveeditor_autocreatescripts _source _extrasource)
ecm_add_test(${_test}
TEST_NAME ${_name}
NAME_PREFIX "sieveeditor-autocreatescripts-"
LINK_LIBRARIES Qt5::Test Qt5::Widgets Qt5::Xml KF5::I18n KF5::Completion KF5::ConfigCore KF5::KSieveUi KF5::MailTransport
LINK_LIBRARIES Qt5::Test Qt5::Widgets KF5::I18n KF5::Completion KF5::ConfigCore KF5::KSieveUi KF5::MailTransport
)
endmacro()
......
......@@ -5,7 +5,7 @@ macro(add_sieveeditor_xmlprintingscriptbuilding _source _extrasource)
ecm_add_test(${_test}
TEST_NAME ${_name}
NAME_PREFIX "sieveeditor-xmlprintingscriptbuilding-"
LINK_LIBRARIES Qt5::Test Qt5::Xml KF5::I18n KF5::KSieveUi
LINK_LIBRARIES Qt5::Test KF5::I18n KF5::KSieveUi
)
endmacro()
add_sieveeditor_xmlprintingscriptbuilding(xmlprintingscriptbuildertest.cpp "" "")
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