Start with creating a library project:
TEMPLATE = lib