How can I create a cross-platform Qt app which uses OpenCV?
I have compiled the OpenCV library & places the dylibs into a folder and included the dylibs by writing LIBS += /myproject/...executablepath/opencv_lib/*.dylib in my project's .pro file
The above works if I have files in /usr/local/lib, however it does NOT work when these dylibs are not there in /usr/local/lib.
I want to create a Qt app which "bundles" OpenCV with it, such that the user does NOT need to install OpenCV himself before running the app. Now that I have already included the dylibs in my project, why should the libraries need to be there in /usr/local/lib also?
Please help!
I guess you have build the opencv libraries as shared libraries. http://stackoverflow.com/questions/18222248/building-opencv-as-static-libraries
Moster, why not make it an answer ?
Since Im not really sure if its the actual reason.
Actually I think it is correct :)