diff --git a/src/plugins/platforms/directfb/qdirectfbblitter.cpp b/src/plugins/platforms/directfb/qdirectfbblitter.cpp index f7a13274e2..0d2fc84bb3 100644 --- a/src/plugins/platforms/directfb/qdirectfbblitter.cpp +++ b/src/plugins/platforms/directfb/qdirectfbblitter.cpp @@ -50,11 +50,6 @@ #include -#define QDFB_STRINGIFY(x) #x -#define QDFB_TOSTRING(x) QDFB_STRINGIFY(x) -#define QDFB_PRETTY \ - (__FILE__ ":" QDFB_TOSTRING(__LINE__)) - static QBlittable::Capabilities dfb_blitter_capabilities() { return QBlittable::Capabilities(QBlittable::SolidRectCapability diff --git a/src/plugins/platforms/directfb/qdirectfbconvenience.h b/src/plugins/platforms/directfb/qdirectfbconvenience.h index db73b0c247..f6a913e42b 100644 --- a/src/plugins/platforms/directfb/qdirectfbconvenience.h +++ b/src/plugins/platforms/directfb/qdirectfbconvenience.h @@ -114,4 +114,10 @@ public: QDirectFbScreen *toDfbScreen(QWindow *window); IDirectFBDisplayLayer *toDfbLayer(QPlatformScreen *screen); +#define QDFB_STRINGIFY(x) #x +#define QDFB_TOSTRING(x) QDFB_STRINGIFY(x) +#define QDFB_PRETTY \ + (__FILE__ ":" QDFB_TOSTRING(__LINE__)) + + #endif // QDIRECTFBCONVENIENCE_H