How to use OPENCV 2.4.10 with QTCreator 3.4.1
HI all,
i want to use opencv with qtcreator on ubutnu 14.04 , can you help me to do this .
i have followed this link http://rodrigoberriel.com/2014/11/using-opencv-3-qt-creator-3-2-qt-5-3/ but i get an error in compilation : cannot find -lopencv_imgcodecs
update : by doing pkg-config --libs
opencv i cant find something like
/usr/local/lib/libopencv_imgcodecs.so
the output of pkg-config --libs opencv
/usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so /usr/local/lib/libopencv_viz.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLU.so -ltbb -lrt -lpthread -lm -ldl
and pkg-config --cflags opencv is
-I/usr/local/include/opencv -I/usr/local/include-I/usr/local/include
The source file :
The project configuration file ---------------------------------------------------------------------
thanks a lot