diff options
author | Andre Heinecke <[email protected]> | 2020-11-11 17:12:20 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2020-11-11 17:12:20 +0000 |
commit | 81f0dc7293a525af7cfbcb53cce050df718e0f91 (patch) | |
tree | 363b07362829a371399d9edfa411779496ca0f9f | |
parent | qt: Allow build with older GnuPG (< 2.2.18). (diff) | |
download | gpgme-81f0dc7293a525af7cfbcb53cce050df718e0f91.tar.gz gpgme-81f0dc7293a525af7cfbcb53cce050df718e0f91.zip |
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.
-rw-r--r-- | lang/qt/src/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |