I compiled:  qt-x11-commercial-src-4.4.0-snapshot-20080312 and compiled
tested my
application with this version.

Now it seems that the QGraphicsItem hoverEvents do not work anymore.
The hover event works correctly (how I expect them to work) with Qt 4.3.2 /
Qt 4.3.4.

I use the hoverEvent to change the cursor when moving over an item like:

JQItem::JQItem() : QAbstractGraphicsShapeItem()
{
   setAcceptsHoverEvents(true);
   setFlag(ItemIsSelectable);
   setFlag(ItemIsMovable);
   ...
}

void
JQItem::hoverEnterEvent(
   QGraphicsSceneHoverEvent *
)
{
   setCursor(Qt::SizeAllCursor);
}

void
JQItem::hoverLeaveEvent(
   QGraphicsSceneHoverEvent *
)
{
   unsetCursor();
}

It seems that these hover members are not called anymore. Any idea what can
be the problem?

Reply via email to