29 lines
906 B
Diff
29 lines
906 B
Diff
|
From 51efe295a222070743187af0367b0bf957879337 Mon Sep 17 00:00:00 2001
|
||
|
From: Antonio Rojas <arojas@archlinux.org>
|
||
|
Date: Fri, 22 Apr 2022 19:13:28 +0200
|
||
|
Subject: [PATCH] Fix build with akonadi-contacts 22.04
|
||
|
|
||
|
---
|
||
|
core/utilities/extrasupport/addressbook/akonadiiface.cpp | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/core/utilities/extrasupport/addressbook/akonadiiface.cpp b/core/utilities/extrasupport/addressbook/akonadiiface.cpp
|
||
|
index 6a78863cf6..8e65a405da 100644
|
||
|
--- a/core/utilities/extrasupport/addressbook/akonadiiface.cpp
|
||
|
+++ b/core/utilities/extrasupport/addressbook/akonadiiface.cpp
|
||
|
@@ -49,7 +49,11 @@
|
||
|
#include <AkonadiCore/Item>
|
||
|
#endif
|
||
|
|
||
|
+#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 19, 80)
|
||
|
+#include <Akonadi/ContactSearchJob>
|
||
|
+#else
|
||
|
#include <Akonadi/Contact/ContactSearchJob>
|
||
|
+#endif
|
||
|
#include <KContacts/Addressee>
|
||
|
|
||
|
#if defined(Q_OS_DARWIN) && defined(Q_CC_CLANG)
|
||
|
--
|
||
|
GitLab
|
||
|
|