From 05661806848b8a6ef9005e4a420d8613ddc868f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 22 Aug 2022 09:30:14 +0200 Subject: [PATCH] qt: Fix building with Qt6 * lang/qt/src/util.cpp, lang/qt/src/util.h: Replace forward declaration with include. -- Based on patch by Laurent Montel --- lang/qt/src/util.cpp | 2 -- lang/qt/src/util.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lang/qt/src/util.cpp b/lang/qt/src/util.cpp index 66c7eedd..c6e1a6ae 100644 --- a/lang/qt/src/util.cpp +++ b/lang/qt/src/util.cpp @@ -37,8 +37,6 @@ #include "util.h" -#include - #include #include diff --git a/lang/qt/src/util.h b/lang/qt/src/util.h index 6aba62e6..475d477b 100644 --- a/lang/qt/src/util.h +++ b/lang/qt/src/util.h @@ -34,14 +34,14 @@ #ifndef __QGPGME_UTIL_H__ #define __QGPGME_UTIL_H__ +#include + #include #include #include #include -class QStringList; - namespace GpgME { class Key;