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.
This commit is contained in:
Andre Heinecke 2020-11-11 18:12:20 +01:00
parent 276f3390e1
commit 81f0dc7293
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -34,6 +34,8 @@
#ifndef QGPGME_DEBUG_H #ifndef QGPGME_DEBUG_H
#define QGPGME_DEBUG_H #define QGPGME_DEBUG_H
#include "qgpgme_export.h"
namespace GpgME namespace GpgME
{ {
class Error; class Error;
@ -41,6 +43,6 @@ class Error;
class QDebug; class QDebug;
QDebug operator<<(QDebug debug, const GpgME::Error &err); QGPGME_EXPORT QDebug operator<<(QDebug debug, const GpgME::Error &err);
#endif // QGPGME_DEBUG_H #endif // QGPGME_DEBUG_H