PDA

View Full Version : Re: Problems using DLL & .so libz



yabadabadoo
15th July 2006, 13:19
hi friends,
can u tell me how to link against .so library in Linux (suse 9.3).
i have precompiled library libxxx.so. I am writting a code in Qt4. i wanna call few functions from lib dynamically. when i load lib using Qlibrary::load() it works fine also unload() is working. But i am not getting functions from lib.
Could any one tell me steps i should follow or the links where i can get steps or example code....
thanx

jacek
15th July 2006, 14:02
You need QLibrary only when you want to load and unload your library in the runtime. If you need that library all the time, just link against it. If you use qmake, just add "LIBS += -lxxx" to your .pro file.