Ask Your Question

How to set up OpenCV(which is part of ROS) in Qt creator in Ubuntu12.04

asked 2013-04-14 09:02:42 -0600

Karthik gravatar image

I have OpenCV2.4.2 installed as part of ROS(Fuerte) in my computer. I want to use an IDE for my projects, I already have installed Qt creator from Ubuntu Software center.

Can somebody help me with how to set up/configure Qt creator with the ROS opencv ?

Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-16 12:12:05 -0600

Karthik gravatar image

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


SOURCES += main.cpp

CONFIG += link_pkgconfig

PKGCONFIG += opencv

edit flag offensive delete link more

Question Tools


Asked: 2013-04-14 09:02:42 -0600

Seen: 1,019 times

Last updated: Apr 16 '13