Could you reproduce the problem with the following code?

Qt Code:
  1. #include <QtGui>
  2.  
  3. class Widget : public QWidget {
  4. public:
  5. Widget() : QWidget(){}
  6. protected:
  7. void mousePressEvent(QMouseEvent *me){
  8. qDebug("PRESS");
  9. }
  10. void mouseReleaseEvent(QMouseEvent *me){
  11. qDebug("RELEASE");
  12. }
  13. };
  14.  
  15. int main(int argc, char **argv){
  16. QApplication app(argc, argv);
  17. Widget w;
  18. w.show();
  19. return app.exec();
  20. }
To copy to clipboard, switch view to plain text mode