added qmake file to build shared library if it is wanted