# Revision history [back]

You can use catkin_create_qt_pkg. But it will probably generate some project which is not compileable which was my case. It depends on version of your ROS, qt etc.

Here is a great tutorial on how to do that. But in my case I had to modify it's CMakeLists.txt to be able to build it.

I've added my example package here on github so take look.

You can use catkin_create_qt_pkg. But it will probably generate some project which is not compileable which (or at least in was like it my case. case). It depends on version of your ROS, qt etc.

Here is a great tutorial on how to do that. But in my case I had to modify it's CMakeLists.txt to be able to build it.

I've added my example package here on github so take look.

You can use catkin_create_qt_pkg. But it will probably generate some project which is not compileable (or at least in was like it my case). It depends on version of your ROS, qt ROS, qt etc.

Here is a great tutorial on how to do that. But in my case I had to modify it's CMakeLists.txt to be able to build it.it. I also had to rename QtGui include in main_window.hpp.

From this #include <QtGui/QMainWindow> to this #include <QtWidgets/QMainWindow>.

I've added my example package here on github so take look.