Hello,

I've been trying to solve this since yesterday with no luck,

first I downloaded the latest version of opencv , it came with it two folders , one is source and one is build I assumed build folder is the precompiled folder which is what I want, anyways I did this in the pro file:

Qt Code:
  1. INCLUDEPATH += C:/opencv/build/include
  2. LIBS +=-LC:/opencv/build/x86/vc11/staticlib
  3. CONFIG(debug, debug|release){
  4. LIBS +=-lopencv_core249\
  5. LIBS +=-lopencv_core249d\
  6. LIBS +=-lopencv_highgui249\
  7. LIBS +=-lopencv_highgui249d\
  8. }
To copy to clipboard, switch view to plain text mode 

and it gives me this error:

Qt Code:
  1. :-1: error: LNK1104: cannot open file '+=-lopencv_core249d.obj'
To copy to clipboard, switch view to plain text mode 

when I delete
LIBS +=-lopencv_core249d\

it gives me the same error except it's for the highgui249d file.