About using file .so in Qt
I have downloaded a .so file which provide a lot of service, How can I use the .so file and call the service functions?
plz show me way to use file .so.
Thanks for all supports!
You either link against the shared library or you use QLibrary [developer.qt.nokia.com] to load the library at runtime.
If your library is pure C so it is possible to use it like Lukas explained. But if your contain C++ symbols is not that simple. Take a look at this post [stackoverflow.com]
thanks all! I tried read and worked follow QLibrary but I still understand enough about that. And my .so file, which i have, is pure C but file .h attach with it have #include <jni.h> (a .h file in java) i try use it on Qt on Windows (not Linux)? Can be worked? Plz explain me clearly.
Thanks for all supports again!