diff --git a/src/libsnore/snore_p.cpp b/src/libsnore/snore_p.cpp index ac81721..99bdb2f 100644 --- a/src/libsnore/snore_p.cpp +++ b/src/libsnore/snore_p.cpp @@ -32,9 +32,9 @@ using namespace Snore; #if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) -SNORE_EXPORT Q_LOGGING_CATEGORY(SNORE, "libsnorenotify", QtWarningMsg) +Q_LOGGING_CATEGORY(SNORE, "libsnorenotify", QtWarningMsg) #else -SNORE_EXPORT Q_LOGGING_CATEGORY(SNORE, "libsnorenotify") +Q_LOGGING_CATEGORY(SNORE, "libsnorenotify") #endif diff --git a/src/libsnore/snoreglobals.h b/src/libsnore/snoreglobals.h index 6373312..939f843 100644 --- a/src/libsnore/snoreglobals.h +++ b/src/libsnore/snoreglobals.h @@ -19,6 +19,8 @@ #ifndef SNOREGLOBALS #define SNOREGLOBALS +#include "snore_exports.h" + #include namespace Snore @@ -31,7 +33,7 @@ enum SettingsType { } -Q_DECLARE_LOGGING_CATEGORY(SNORE) +SNORE_EXPORT Q_DECLARE_LOGGING_CATEGORY(SNORE) #endif // SNOREGLOBALS