Revision history [back]

Hi!

Here is a little trick that I used (if anyone knows a "cleaner" way to do this, please let us know):

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