--- 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 <CGAL/auto_link/Qt4.h>
 #include <QObject>
 #include <QGraphicsItem>
+#ifndef Q_MOC_RUN
 #include <CGAL/Object.h>
-
+#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 <CGAL/auto_link/Qt4.h>
+#ifndef Q_MOC_RUN
 #include <CGAL/Object.h>
+#endif
 #include <QObject>
 
 namespace CGAL {
