Re: Shared Library Creation
I's been a while since I've done something like this but, I think, for qmake you just need to specify TEMPLATE = lib and the rest of the options are the same for any qmake project.
For more specific qmake's settings, search for qmake on assistant.
For shared libraries themselves, you might want to ask google about that, it will help you better than I, but I did a search "how to create c++ shared libraries" and the first result is this:
http://www.iram.fr/~roche/code/c++/c++_AddNumbers.html
Hope it helps.