blob: c48eec68a64024c98d2f503c10a1000900a9490d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Description: Work around moc limitations
Some parts of Boost, introduced in Boost 1.48 are not
understood by the limited C++ parser of moc. This
patch defines header guards that prevent the troublesome boost
headers from being processed.
Bug-Debian: #653796
Author: Tobias Frost <tobi@coldtobi.de>
Reviewed-By: Steve Robbins <smr@debian.org>
--- a/src/QGlib/connect.h
+++ b/src/QGlib/connect.h
@@ -19,6 +19,11 @@
#ifndef QGLIB_CONNECT_H
#define QGLIB_CONNECT_H
+#ifdef Q_MOC_RUN
+#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
+#endif
+
+
#include "global.h"
#include "quark.h"
#include <QtCore/QObject>
--- a/src/QGst/bin.h
+++ b/src/QGst/bin.h
@@ -19,6 +19,10 @@
#ifndef QGST_BIN_H
#define QGST_BIN_H
+#ifdef Q_MOC_RUN
+#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
+#endif
+
#include "element.h"
#include "childproxy.h"
--- a/src/QGst/Ui/videowidget.h
+++ b/src/QGst/Ui/videowidget.h
@@ -19,6 +19,10 @@
#ifndef QGST_UI_VIDEOWIDGET_H
#define QGST_UI_VIDEOWIDGET_H
+#ifdef Q_MOC_RUN
+#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
+#endif
+
#include "global.h"
#include "../element.h"
#include <QtGui/QWidget>
|