Opencv compilation settings

Please help trying to compile the opencv project with apmplanner with no success
using the following lines:

INCLUDEPATH += /usr/local/lib

LIBS += -opencv_core -opencv_imgproc -opencv_imgcodecs -opencv_highgui

where I should past them in the qgroundcontrol.pro file

I am usint linux Ubunt TLS-14 version 64 bit
with apm planner 2.0

please help!!

thanks inadvance

My mistake this is the right one:

INCLUDEPATH += /usr/local/include/opencv

LIBS += -L/usr/local/lib -opencv_core -opencv_imgproc -opencv_imgcodecs -opencv_highgui

[color=#00FF00][SOLVED][/color]

I used the following commands on the end of the file:

INCLUDEPATH += /usr/local/include/opencv

LIBS += -L/usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_highgui