I\'m trying to build a dynamic library on Linux using qmake. Here is my .pro file:
TEMPLATE = lib TARGET = sqxUiBase QT += core gui CONFIG += dll INCLUDEP
What you are looking for is making a plugin.
plugin
Add CONFIG += plugin to your project file, and qmake will generate a Makefile that builds a libFoo.so file, without the numbered links
CONFIG += plugin
libFoo.so