From 81f0dc7293a525af7cfbcb53cce050df718e0f91 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 11 Nov 2020 18:12:20 +0100 Subject: [PATCH] qt: Add export macro for QDebug operator * lang/qt/src/debug.h: Add export macro. -- This is public API so it should be exported. This did not resolve a link issue for Windows that I've experienced when building. But this might be to some uncleanlyness in my build environment. --- lang/qt/src/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/qt/src/debug.h b/lang/qt/src/debug.h index ba54766a..791726ca 100644 --- a/lang/qt/src/debug.h +++ b/lang/qt/src/debug.h @@ -34,6 +34,8 @@ #ifndef QGPGME_DEBUG_H #define QGPGME_DEBUG_H +#include "qgpgme_export.h" + namespace GpgME { class Error; @@ -41,6 +43,6 @@ class Error; class QDebug; -QDebug operator<<(QDebug debug, const GpgME::Error &err); +QGPGME_EXPORT QDebug operator<<(QDebug debug, const GpgME::Error &err); #endif // QGPGME_DEBUG_H