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

QT and ROS

asked 2012-08-15 13:14:20 -0600

updated 2014-01-28 17:13:20 -0600

ngrennan gravatar image

Hi guys,

I have recently started using Qt for some basic GUI front end for my applications in ROS. I am currently using Qmake directly to perform the necessary operations with my ROS program.

I would like to know what is the benefit of using the Qt-ROS package over the normal Qt? Because I am currently developing my Qt app with the help of Qt creator and using terminal signals for various push buttons and other such operations.

Is there any benefit other than having Qt inside the ROS package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-06 08:07:08 -0600

130s gravatar image

Though not a complete answer, here are some advantages of using qt_create pkg in qt_ros stack:

  • Upon creating pkg, CMakeLists.txt will be modified, which allows you to build pkg (by rosmake) that uses Qt on the fly
    • MOC files will be generated automatically
    • include paths, library paths are filled.
    • Qt's resource files will be integrated.
  • A class automatically generated called QNode provides interface between ROS and your Qt codes.

Although qt_create is deprecated in fuerte(, it still works fine on my environment. HTH.

edit flag offensive delete link more


Thanks for that bit of info. If you say qt_create is being deprecated from fuerte then is there any replacement for that for the fuerte and future releases? Because being at the starting point i really would not want to use a deprecated stack. Thanks

SivamPillai gravatar image SivamPillai  ( 2012-09-06 13:29:24 -0600 )edit

The stack is not getting depracated, just the tool which is moving to a pypi package. I haven't advertised that yet, because fuerte and qt_ros is in the middle of the ros catkin upgrade. Feel free to pip install that package though.

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-06 16:24:28 -0600 )edit

Groovy will finally see qt_ros as a catkin package sitting alongside a create script coming from that pypi roscreate package.

Daniel Stonier gravatar image Daniel Stonier  ( 2012-09-06 16:25:29 -0600 )edit

Question Tools



Asked: 2012-08-15 13:14:20 -0600

Seen: 894 times

Last updated: Sep 06 '12