I want to create a static library .a by QTcreator with a platform on a windows 7,

I want to write function is simply this:

Qt Code:
  1. int sumint(int a,int b)
  2. {
  3. return a+b;
  4. }
To copy to clipboard, switch view to plain text mode 


can you help me ?