ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

qt_create works in Fuerte?

asked 2013-12-01 14:44:09 -0600

Astronaut gravatar image

updated 2014-01-28 17:18:42 -0600

ngrennan gravatar image


Im trying to use Qt as an user interface for a moving robot platform. So trying to integrate it in ROS. Im totally new beginner in QT and pretty advanced in ROS. So I dont know from where to start first?I have created ROS package and all works fine. So now what should I do with QT side?From where to start with QT? I was told to add QT library in my ROS pkg use it like qt.

And when using what is the difference when add Qt library to ROS pkg? I found that for qt_create there is no documentation for fuerte.Im using Fuerte version of ROS so means it does not works for Fuerte??

Any help as Im bit lost


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-06 02:24:45 -0600

autonomy gravatar image

I can't tell you exactly what to do, but I can point you in the right direction. You need to include Qt header files in your and point to Qt libraries for linking in your build. All of this needs to happen in your CMakeLists.txt file and what you include will depend on the libraries you're attempting to use.

Once you point the ROS build system to the right place, you should be able to use Qt just like you would in a regular C++ project:

#include <QTextEdit>
QTextEdit * text = new QTextEdit;
// etc.

For CMakeLists-specific syntax, see and

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-12-01 14:44:09 -0600

Seen: 136 times

Last updated: Dec 06 '13