[Qt-interest] QGraphicsItem::ItemSendsScenePositionChanges has no effect in Qt 4.6.3
Nikos Chantziaras
realnc at arcor.de
Sun May 22 00:26:59 CEST 2011
On 05/22/2011 01:20 AM, Nikos Chantziaras wrote:
> 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.
One thing I forgot to mention is that when I compile against Qt 4.6.3
and then run the binary on a system that has 4.7.3, it still doesn't
work. It only works when compiled against a 4.7 version. This is bad,
since when I distribute binaries, I always compile using against older
versions of libraries so that the binary is compatible with more Linux
distros.
More information about the Qt-interest-old
mailing list