--- include/CGAL/Qt/GraphicsItem.h.orig 2012-02-15 08:03:01.532100669 -0500 +++ include/CGAL/Qt/GraphicsItem.h 2012-02-15 08:03:48.753798057 -0500 @@ -24,8 +24,9 @@ #include #include #include +#ifndef Q_MOC_RUN #include - +#endif namespace CGAL { --- include/CGAL/Qt/GraphicsViewInput.h.orig 2012-02-15 08:03:16.488514829 -0500 +++ include/CGAL/Qt/GraphicsViewInput.h 2012-02-15 08:04:27.857480176 -0500 @@ -22,7 +22,9 @@ #define CGAL_QT_GRAPHICS_VIEW_INPUT_H #include +#ifndef Q_MOC_RUN #include +#endif #include namespace CGAL {