In Linux, if you just say -lfoo, the linker will look for libfoo.so first, if not found, then it looks for libfoo.a. From your ldd outputs, you have dynamic Qt libraries in the path...
You can force it to link to static one using -Wl,-Bstatic as
LIBS += -Wl,-Bstatic -lfoo
Then it will pick up static first. Try to play with your pro file, you should be able to figure it out...
Bookmarks