[MAC OSX] Mousetracking does not work in VideoWidget
Dear all,
I want to track the mouse in a video widget and have sub-classed VideoWidget:
Code:
VideoWidgetPatch
::VideoWidgetPatch( QWidget * parent
) : Phonon
::VideoWidget(parent
){
setMouseTracking(true);
}
void VideoWidgetPatch
::mouseMoveEvent(QMouseEvent * event
) {
qDebug() << event->type() << hasMouseTracking();
Phonon::VideoWidget::mouseMoveEvent(event);
}
The problem is the mouseMoveEvent comes only when I press the mouse button.
Am I missing something?
Thanks Markus