summaryrefslogtreecommitdiff
path: root/src/GudhUI/gui
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-28 15:30:36 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-28 15:30:36 +0000
commit468f9f1fcf5a818d1615b3102f6324f67a0a825c (patch)
treebcc211182c7c8361346a98be802ba49d5225bc76 /src/GudhUI/gui
parent4eb67582fc0aec86d56c5839ddcb5b0bf72e95b5 (diff)
Workaround for moc-qt4 failing to parse boost.
These should be removed when we move to Qt5. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@799 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 022769c3fcff955eba91c36cd27d2839702ec8dc
Diffstat (limited to 'src/GudhUI/gui')
-rw-r--r--src/GudhUI/gui/MainWindow.h2
-rw-r--r--src/GudhUI/gui/Menu_edge_contraction.h2
2 files changed, 4 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"