diff --git a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp index 6245c8620..d3a96e463 100644 --- a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp +++ b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp @@ -52,8 +52,11 @@ #include #include #include -// QTextDocument provides Qt::escape() -#include + +#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 ) + // QTextDocument provides Qt::escape() + #include +#endif namespace Tomahawk {