Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

1- Create a symbolic link to /opt/ros/fuerte/lib/pkgconfig/opencv.pc inside the directory /user/local/lib/pkgconfig.

cd /usr/local/lib/pkgconfig

ln -s /opt/ros/fuerte/lib/pkgconfig/opencv.pc opencv.pc

2- Create the appropriate .pro file for your Qt project

TARGET= MyQtProject

TEMPLATE = APP

SOURCES += main.cpp

CONFIG += link_pkgconfig

PKGCONFIG += opencv