MouseMoveEvent ERROR!
-
mywidget.cpp:
@void MyWidget::mouseMoveEvent(QMouseEvent *event)
{qDebug() << event->pos();
}@
mywidget.h:
@void mouseMoveEvent(QMouseEvent *event);@
ERROR:
@:-1: In member function 'virtual void MyWidget::mouseMoveEvent(QMouseEvent*)':
error: invalid use of incomplete type 'struct QMouseEvent'
error: forward declaration of 'struct QMouseEvent'@