PDA

View Full Version : Link *.so library



allstar
8th July 2007, 16:16
Hi,
what should i put in *.pro file to link my libmylib.so library?

Thanks a lot for help.

jpn
8th July 2007, 16:27
See qmake manual, declaring libs (http://doc.trolltech.com/4.3/qmake-project-files.html#declaring-other-libraries) and LIBS (http://doc.trolltech.com/4.3/qmake-variable-reference.html#libs) variable:

unix:LIBS += -L/path/to/lib -lmylib