diff --git a/GraphicsView/include/CGAL/Qt/PointsInKdTreeGraphicsItem.h b/GraphicsView/include/CGAL/Qt/PointsInKdTreeGraphicsItem.h index d3c6e24ec70..a16c3ddee6b 100644 --- a/GraphicsView/include/CGAL/Qt/PointsInKdTreeGraphicsItem.h +++ b/GraphicsView/include/CGAL/Qt/PointsInKdTreeGraphicsItem.h @@ -129,7 +129,7 @@ PointsInKdTreeGraphicsItem::PointsInKdTreeGraphicsItem(KdTree * p_) } updateBoundingBox(); setZValue(3); -#if QT_VERSION > 0x040500 +#if QT_VERSION >= 0x040600 setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true); #endif }