My bad, sorry, some copy/paste errors, i corrected the error in my previous post, and also you seem to have the 2.49 version of opencv (you can check the file names in that lib folder), so the code becomes:
CONFIG( debug, debug|release ) {
#debug libs
LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
-lopencv_core249d\
-lopencv_highgui249d
}
else {
#release libs
LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
-lopencv_core249\
-lopencv_highgui249
}
CONFIG( debug, debug|release ) {
#debug libs
LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
-lopencv_core249d\
-lopencv_highgui249d
}
else {
#release libs
LIBS +=-LC:/opencv/build/x86/vc11/staticlib\
-lopencv_core249\
-lopencv_highgui249
}
To copy to clipboard, switch view to plain text mode
LE: don't forget to run qmake after you modify the .pro file.
Bookmarks