基于mingw编译的opencv249库,亲测可用。INCLUDEPATH += D:\opencv249\install\includeLIBS += -L D:\opencv249\install\x64\mingw\bin\libopencv_*.dll