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

Catkin and Qt_ros. How to build

asked 2013-03-05 15:46:16 -0500

phbou72 gravatar image

updated 2014-01-28 17:15:32 -0500

ngrennan gravatar image


I'm a bit lost with the integration of Qt with ROS. I have to make a few custom interfaces for my university project (a nifty robot that do cool stuff) and I was thinking about using Qt to make them since we already have a lot of experience with Qt C++ in my team.

The problem is, my workspace is using catkin and the package qt_ros (with the node roscreate-qt-pkg) seems to create files that are made for rosbuilder. By example, it create a manifest.xml (wich I think is deprecated in groovy) and the CMakeLists.txt is really different from the ones I get from catkin-package. So, my node is not built at all when I execute catkin_make. How am I suppose to do it?

I really like ROS and all his tools, but if I can't create my interfaces quickly we will have to switch to another technology or think about an alternative to talk to ROS from another application that contains our interface : (.

edit retag flag offensive close merge delete


Do I have to make this : "Simply make in place (native compile) or use rosbuild2 to cross-compile with mingw"?!

phbou72 gravatar image phbou72  ( 2013-03-05 15:54:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-05 18:58:45 -0500

130s gravatar image

updated 2013-03-06 07:36:17 -0500

In Groovy, most of the building tools used in previous distributions are still valid. So you can build your stuff that you have been able to build with catkin, and also build the packages that you made with qt_ros, and run them. Upon runtime, build system used should not matter afaik so that you can mix them.

Wiki pages of qt_ros neither specifies that they don't work on Groovy nor buildsystem to be used. Considering that it worked pretty well for me with rosbuild on fuerte, I recommend to use it first with rosbuild (run rosmake).

edit flag offensive delete link more


What is better : reconfigure my catkin workspace to only use rosbuild instead or try to mix the both of them? I need to reuse code and messages I have in my catkin workspace since my nodes will eventually speak together.

phbou72 gravatar image phbou72  ( 2013-03-06 04:42:10 -0500 )edit

I updated my answer since it wasn't clear, but yes mixing them shouldn't be a problem afaik.

130s gravatar image 130s  ( 2013-03-06 07:37:16 -0500 )edit

Question Tools

1 follower


Asked: 2013-03-05 15:46:16 -0500

Seen: 884 times

Last updated: Mar 06 '13