From d42323f90213157a5e847bfa89bee55a29ee8df0 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 3 Jul 2022 16:47:40 +0200 Subject: [PATCH] qt: Add #include needed for building against qt6 * lang/qt/src/downloadjob.h, lang/qt/src/exportjob.h, lang/qt/src/keylistjob.h lang/qt/src/refreshkeysjob.h: in qt6 we need to use #include -- It fixes some compile qt6 compile error. Signed-off-by: Laurent Montel --- lang/qt/src/downloadjob.h | 2 +- lang/qt/src/exportjob.h | 3 +-- lang/qt/src/keylistjob.h | 4 ++-- lang/qt/src/refreshkeysjob.h | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lang/qt/src/downloadjob.h b/lang/qt/src/downloadjob.h index 7c8bb725..b916c41d 100644 --- a/lang/qt/src/downloadjob.h +++ b/lang/qt/src/downloadjob.h @@ -38,6 +38,7 @@ #include "job.h" #include +#include #include @@ -46,7 +47,6 @@ namespace GpgME class Error; } -class QStringList; class QIODevice; class QByteArray; diff --git a/lang/qt/src/exportjob.h b/lang/qt/src/exportjob.h index 7f79ea08..4fdb468d 100644 --- a/lang/qt/src/exportjob.h +++ b/lang/qt/src/exportjob.h @@ -39,14 +39,13 @@ #include "job.h" #include +#include namespace GpgME { class Error; } -class QStringList; - namespace QGpgME { diff --git a/lang/qt/src/keylistjob.h b/lang/qt/src/keylistjob.h index 515a0e4d..ace9fbe0 100644 --- a/lang/qt/src/keylistjob.h +++ b/lang/qt/src/keylistjob.h @@ -44,6 +44,8 @@ # include #endif +#include + #include namespace GpgME @@ -52,8 +54,6 @@ class Error; class KeyListResult; } -class QStringList; - namespace QGpgME { diff --git a/lang/qt/src/refreshkeysjob.h b/lang/qt/src/refreshkeysjob.h index 6bd748ac..67774c2f 100644 --- a/lang/qt/src/refreshkeysjob.h +++ b/lang/qt/src/refreshkeysjob.h @@ -38,6 +38,8 @@ #include "job.h" #include "qgpgme_export.h" +#include + #include namespace GpgME @@ -46,8 +48,6 @@ class Error; class Key; } -class QStringList; - namespace QGpgME {