From gnupg-devel Mon Aug 22 06:11:02 2022 From: Laurent Montel Date: Mon, 22 Aug 2022 06:11:02 +0000 To: gnupg-devel Subject: Add missing include (fix some qt6 compile error) Message-Id: <2221421.3T26gck7j8 () localhost ! localdomain> X-MARC-Message: https://marc.info/?l=gnupg-devel&m=166114860716936 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3668618709433359333==" --===============3668618709433359333== Content-Type: multipart/signed; boundary="nextPart2687200.dXBt5yPviT"; micalg="pgp-sha256"; protocol="application/pgp-signature" --nextPart2687200.dXBt5yPviT Content-Type: multipart/mixed; boundary="nextPart6201915.Uc7IpFabCg"; protected-headers="v1" Content-Transfer-Encoding: 7Bit From: Laurent Montel Reply-To: montel@kde.org Cc: Ingo =?ISO-8859-1?Q?Kl=F6cker?= Subject: Add missing include (fix some qt6 compile error) Date: Mon, 22 Aug 2022 08:11:02 +0200 Message-ID: <2221421.3T26gck7j8@localhost.localdomain> MIME-Version: 1.0 This is a multi-part message in MIME format. --nextPart6201915.Uc7IpFabCg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi, This patch will help to build against qt6. We need to include vs using forward declaration Could you apply it please ? Thanks -- Laurent Montel | laurent.montel@kdab.com | KDE/Qt Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr KDAB - The Qt, C++ and OpenGL Experts --nextPart6201915.Uc7IpFabCg Content-Disposition: attachment; filename="add_missing_include_qstringlist_util.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="add_missing_include_qstringlist_util.patch" commit f49f3775a1d0dd85b06fb3942a0f9ae044436373 Author: Laurent Montel Date: Mon Aug 22 08:05:10 2022 +0200 qt: Add #include needed for building against qt6 * lang/qt/src/util.h in qt6 we need to use #include -- It fixes some compile qt6 compile error. Signed-off-by: Laurent Montel diff --git a/lang/qt/src/util.h b/lang/qt/src/util.h index 6aba62e6..76d3831f 100644 --- a/lang/qt/src/util.h +++ b/lang/qt/src/util.h @@ -36,12 +36,12 @@ #include +#include + #include #include #include -class QStringList; - namespace GpgME { class Key; --nextPart6201915.Uc7IpFabCg-- --nextPart2687200.dXBt5yPviT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE1fBm9jeOeCsED69sElIuu8uaeFMFAmMDHfYACgkQElIuu8ua eFNe1wf/d5xjTySGbF8ytCnpxJZoWK9Dp1mbaqfBDvr2YjYBRTqYoNoFtVmDSFPU Cs8DGnjHp0oW26dWZ3FaG3am1gdajPVfonwmlATRKRSrrZ2t7gz38r95oCzSPmlc 9i8orzThhk7h/4YWGVHW9ftQOOwHLgKkUWixNShsf66ttbGbrr5F1F0GMeHWgsxf zIwEAS3iztfqeYQDY6xuj2fuc+8MW/a9BppG1bP20tpDFsIAzvcYxnQh9KcCVXOd ON3na0mSA/LQmkgklntEOK7khABPSRnlODOUAX/tJzXcFt+HxXmbjXV2QVa+y2nk iGFvLQ8tZf+/zdOr4zMN7cnPzk74XA== =1a9C -----END PGP SIGNATURE----- --nextPart2687200.dXBt5yPviT-- --===============3668618709433359333== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnupg-devel mailing list Gnupg-devel@lists.gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-devel --===============3668618709433359333==--