Commit 7d91678f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We need to link to Qt6Core5Compat

parent ea48a2c7
Pipeline #140126 failed with stage
in 33 seconds
......@@ -53,6 +53,9 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n Config Crash DBusAd
if (AKONADISEARCH_ENABLE_KRUNNER_RUNNER)
find_package(KF5Runner ${KF5_MIN_VERSION} REQUIRED)
endif()
if (QT_MAJOR_VERSION STREQUAL "6")
find_package(Qt6Core5Compat)
endif()
find_package(Xapian CONFIG)
......
......@@ -33,6 +33,10 @@ target_link_libraries(KF5AkonadiSearchDebug
KF5::ConfigCore
KF5::Completion
)
target_link_libraries(KF5AkonadiSearchDebug
PRIVATE
Qt6::Core5Compat
)
set_target_properties(KF5AkonadiSearchDebug PROPERTIES
VERSION ${AKONADISEARCH_VERSION}
......
......@@ -6,8 +6,8 @@
#pragma once
#include <QRegExp>
#include <QSyntaxHighlighter>
namespace Akonadi
{
namespace Search
......
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