Commit 06e3e3a4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

XmlPatterns was removed in qt6

parent 94e4d7b4
Pipeline #125061 passed with stage
in 10 minutes and 26 seconds
......@@ -105,7 +105,10 @@ set_package_properties(Qt5TextToSpeech PROPERTIES DESCRIPTION
if(Qt5TextToSpeech_FOUND)
set(HAVE_TEXT_TO_SPEECH_SUPPORT TRUE)
endif()
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test XmlPatterns DBus NetworkAuth)
find_package(Qt${QT_MAJOR_VERSION} ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test DBus NetworkAuth)
if (QT_MAJOR_VERSION STREQUAL "5")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED XmlPatterns)
endif()
find_package(Qt${QT_MAJOR_VERSION}WebEngineWidgets ${QT_REQUIRED_VERSION} CONFIG)
# KF5 package
......
......@@ -30,7 +30,10 @@ target_link_libraries(isolatedtestcommon
)
add_subdirectory(unittests)
add_subdirectory(fakeserver)
# XmlPattern was removed in qt6
if (QT_MAJOR_VERSION STREQUAL "5")
add_subdirectory(fakeserver)
endif()
if (KDEPIM_RUN_AKONADI_TEST)
add_akonadi_isolated_test_advanced(ewstest.cpp isolatedtestcommon.qrc "isolatedtestcommon")
add_akonadi_isolated_test_advanced(serverbusytest.cpp isolatedtestcommon.qrc "isolatedtestcommon")
......
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