diff --git a/src/imageformats/eps.cpp b/src/imageformats/eps.cpp index 4a1ca9c..3267e7a 100644 --- a/src/imageformats/eps.cpp +++ b/src/imageformats/eps.cpp @@ -17,7 +17,13 @@ #include #include +#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0) +// logging category for this framework, default: log stuff >= warning +Q_LOGGING_CATEGORY(EPSPLUGIN, "epsplugin", QtWarningMsg) +#else Q_LOGGING_CATEGORY(EPSPLUGIN, "epsplugin") +#endif + //#define EPS_PERFORMANCE_DEBUG 1 #define BBOX_BUFLEN 200