diff options
author | Ingo Klöcker <[email protected]> | 2022-08-22 07:30:14 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-08-22 07:30:14 +0000 |
commit | 05661806848b8a6ef9005e4a420d8613ddc868f1 (patch) | |
tree | 1870fe329f1a0a5f34c35f1b006acb1fb583c885 | |
parent | cpp: Fix building with C++11 (diff) | |
download | gpgme-05661806848b8a6ef9005e4a420d8613ddc868f1.tar.gz gpgme-05661806848b8a6ef9005e4a420d8613ddc868f1.zip |
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
-rw-r--r-- | lang/qt/src/util.cpp | 2 | ||||
-rw-r--r-- | 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 <QStringList> - #include <key.h> #include <algorithm> 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 <QStringList> + #include <gpgme.h> #include <sstream> #include <string> #include <vector> -class QStringList; - namespace GpgME { class Key; |