mirror of https://github.com/CGAL/cgal
Patch so that Qt's MOC can parse our headers, with Boost-1.48
The patch is adapted from this bug report: From: Mark Brand < mabrand@mabrand.nl> To: cgal-discuss@lists-sop.inria.fr Subject: [cgal-discuss] [PATCH] prevent Qt's moc from choking on BOOST_JOIN See https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2011-11/msg00087.html
This commit is contained in:
parent
b154f31f27
commit
f5ec3f260c
|
|
@ -24,7 +24,9 @@
|
||||||
#include <CGAL/auto_link/Qt4.h>
|
#include <CGAL/auto_link/Qt4.h>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QGraphicsItem>
|
#include <QGraphicsItem>
|
||||||
#include <CGAL/Object.h>
|
#ifndef Q_MOC_RUN
|
||||||
|
# include <CGAL/Object.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,9 @@
|
||||||
|
|
||||||
#include <CGAL/auto_link/Qt4.h>
|
#include <CGAL/auto_link/Qt4.h>
|
||||||
#include <CGAL/Object.h>
|
#include <CGAL/Object.h>
|
||||||
#include <QObject>
|
#ifndef Q_MOC_RUN
|
||||||
|
# include <QObject>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
namespace Qt {
|
namespace Qt {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue