[Qt-interest] QGraphicsItem::ItemSendsScenePositionChanges has no effect in Qt 4.6.3
Nikos Chantziaras
realnc at arcor.de
Sun May 22 00:20:00 CEST 2011
I have a QGraphicsPixmapItem subclass, and in its ctor I set the
following flag:
setFlag(QGraphicsItem::ItemSendsScenePositionChanges, true);
in order to have QGraphicsItem::itemChange() getting called whenever the
items is moved. This works just fine in Qt 4.7. However, in 4.6.3, the
version I need to support (Debian 6 uses that version), it doesn't.
According to the docs though, it should work:
http://doc.trolltech.com/4.6/qgraphicsitem.html#GraphicsItemFlag-enum
"This flag was introduced in Qt 4.6."
Is there something I can do? Qt 4.6 support is important in my case.
More information about the Qt-interest-old
mailing list