I am assuming you are using QMake
You use any third party library in much the same way.
- Add a path or paths to INCLUDEPATH to allow the C++pre-processor to find the library headers during compilation
- Add a path or paths to LIBS using -L options to allow the linker to find the library files during linking
- Add a name or names to LIBS using -l options to name the libraries you want the linker search for symbols during linking
In the case of dynamically loaded libraries: they must be located at run time either:
- In the same directory as the executable or on the system PATH on Windows
- On the UNIX LD_LIBRARY_PATH.
Perhaps you could elaborate on where in the process you are getting problems, and what the error or warning messages are.
Bookmarks