Please post your .pro-file of the project. It should have something like this in it:

Qt Code:
  1. TEMPLATE = lib
  2. CONFIG += shared
To copy to clipboard, switch view to plain text mode 

If the second line is missing, it will create a static library (.a).