Hi
I have multiple qtoolbutton in a class inherited from qwidget. when mouse is move on that they show their respective menu. i have implemented eventfilters. my code work fine in QT4 but not works fine in QT5. Onclick it works fine but not on mouse move. as per documented i set MouseTracking on.

Code:

class myClass: public QWidget
{
setMouseTracking(TRUE);
........ 8 QToolButtons
QToolButton->installEventFilter(this);
}

bool myClass::eventFilter(QObject *obj, QEvent *event)
{
if(event->type()==QEvent::Enter)
{
if(obj == toolbutton1)
showMenu1()
// same for all tool button
return true;
}
return QWidget::event(obj,event);
}

i printed qDebug it shows leaveEvent not called on mouse move. it just called on Mouse click.