summaryrefslogtreecommitdiff
path: root/src/QGst/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/QGst/global.h')
-rw-r--r--src/QGst/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/QGst/global.h b/src/QGst/global.h
index ae64cfd..cadf3a4 100644
--- a/src/QGst/global.h
+++ b/src/QGst/global.h
@@ -17,6 +17,11 @@
#ifndef QGST_GLOBAL_H
#define QGST_GLOBAL_H
+// workaround for https://bugreports.qt-project.org/browse/QTBUG-22829
+#if defined(Q_MOC_RUN) && !defined(BOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
+#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
+#endif
+
#include "../QGlib/type.h"
#include <QtCore/QtGlobal>
#include <QtCore/QDate>