ItemUsesExtendedStyleOption is available only starting from Qt 4.6

This commit is contained in:
Andreas Fabri 2010-12-13 19:28:34 +00:00
parent 51cb08db2c
commit 7520c27371
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ PointsInKdTreeGraphicsItem<KdTree>::PointsInKdTreeGraphicsItem(KdTree * p_)
} }
updateBoundingBox(); updateBoundingBox();
setZValue(3); setZValue(3);
#if QT_VERSION > 0x040500 #if QT_VERSION >= 0x040600
setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true); setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true);
#endif #endif
} }