Qt-Msvc2015 configuration of pit opencv3.2

 Here only call opencv3.2 package, not cmake files.

All installation and online the same, but when writing .pro file, we must pay attention! !

Little attention, is the emergence of the pit, to report the error!

Many online .pro file, do not know is written wrong, or what is the error!

After several attempts, the following .pro file is no problem! !

INCLUDEPATH += D:/opencv3.2/build/include\
INCLUDEPATH += D:/opencv3.2/build/include/opencv\
INCLUDEPATH += D:/opencv3.2/build/include/opencv2

LIBS += -LD:/opencv3.2/build/x64/vc14/lib\
         -lopencv_world320d

 

Guess you like

Origin www.cnblogs.com/almn/p/11277739.html