I define a class A as follows:
Qt Code:
  1. class A
  2. {
  3. protected:
  4. void contentsMousePressEvent (QMouseEvent *e);
  5. signals:
  6. void extractClicked();
  7. }
  8. void A::contentsMousePressEvent (QMouseEvent *e)
  9. {
  10. .....
  11. emit extractClicked();
  12. }
To copy to clipboard, switch view to plain text mode 

when compile,error:error LNK2019: unresolved external symbol ...
means that can not find the function extractClicked.
Why?