summaryrefslogtreecommitdiff
path: root/src/GudhUI
diff options
context:
space:
mode:
Diffstat (limited to 'src/GudhUI')
-rw-r--r--src/GudhUI/gui/MainWindow.h2
-rw-r--r--src/GudhUI/gui/Menu_edge_contraction.h2
-rw-r--r--src/GudhUI/view/Viewer.h3
-rw-r--r--src/GudhUI/view/Viewer_instructor.h2
4 files changed, 9 insertions, 0 deletions
diff --git a/src/GudhUI/gui/MainWindow.h b/src/GudhUI/gui/MainWindow.h
index 587f1c6f..e46b72a3 100644
--- a/src/GudhUI/gui/MainWindow.h
+++ b/src/GudhUI/gui/MainWindow.h
@@ -1,6 +1,8 @@
#ifndef MAIN_WINDOW_H
#define MAIN_WINDOW_H
+// Workaround for moc-qt4 not parsing boost headers
+#include <CGAL/config.h>
#include <QMainWindow>
#include "ui_main_window.h"
diff --git a/src/GudhUI/gui/Menu_edge_contraction.h b/src/GudhUI/gui/Menu_edge_contraction.h
index e497a90f..81d37bd8 100644
--- a/src/GudhUI/gui/Menu_edge_contraction.h
+++ b/src/GudhUI/gui/Menu_edge_contraction.h
@@ -8,6 +8,8 @@
#ifndef MENU_EDGE_CONTRACTION_H_
#define MENU_EDGE_CONTRACTION_H_
+// Workaround for moc-qt4 not parsing boost headers
+#include <CGAL/config.h>
#include "gui/MainWindow.h"
#include "gui/ui_MenuEdgeContraction.h"
diff --git a/src/GudhUI/view/Viewer.h b/src/GudhUI/view/Viewer.h
index 5639aa56..00f9b245 100644
--- a/src/GudhUI/view/Viewer.h
+++ b/src/GudhUI/view/Viewer.h
@@ -1,6 +1,9 @@
#ifndef VIEWER_H
#define VIEWER_H
+// Workaround for moc-qt4 not parsing boost headers
+#include <CGAL/config.h>
+
#include <QGLViewer/qglviewer.h>
#include "View_parameter.h"
#include "model/Complex_typedefs.h"
diff --git a/src/GudhUI/view/Viewer_instructor.h b/src/GudhUI/view/Viewer_instructor.h
index 9a2a236b..62b3755e 100644
--- a/src/GudhUI/view/Viewer_instructor.h
+++ b/src/GudhUI/view/Viewer_instructor.h
@@ -3,6 +3,8 @@
// todo do a viewer instructor that have directely a pointer to a QGLviewer and buffer ot not triangles
+// Workaround for moc-qt4 not parsing boost headers
+#include <CGAL/config.h>
#include <memory>