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

[melodic] catkin_create_qt_pkg: command not found

asked 2019-01-11 03:38:48 -0500

odoncn gravatar image

updated 2019-01-11 03:42:26 -0500

gvdhoorn gravatar image

Hey guys,

When I attend to programming a QT GUI application on ROS, found it unable to use catkin_create_qt_pkg . Please help me if

  • Parallels Desktop: Ubuntu 18.04 LTS
  • ROS Melodic

I failed to execute below commands,

sudo apt-get install ros-melodic-qt-ros
Reading package lists... Done
Building dependency tree       
Reading state information... Done
`E: Unable to locate package ros-melodic-qt-ros`

How can I solve the problem or any other way to create GUI application on ROS with QT

edit retag flag offensive close merge delete

Comments

Did you try using qt_create, described here?

Wilco Bonestroo gravatar image Wilco Bonestroo  ( 2019-01-11 08:43:56 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2019-01-28 18:51:41 -0500

plc66 gravatar image

Hi ,

I don't have a direct answer to your question, but merely confirming that you are not on your own. I still have some of my archives from kinetic, under which I was able to compile Qt5 (QML) based apps. Even though at the time I remember spending a lot of time to properly configure the cmake.txt file to work properly with all the Qt5 modules that I needed.

There are actually 2 issues related with melodic and qt5: - qt-build is not present in the repo. - catkin_create_qt_pkg is also not present in the repo.

The ROS wiki states:

In the future we may move this to a rosdistro independant python package.

Can only assume that the python implementation is not yet documented...

I will dedicate my free time this week to sort it out and should be able hopefully to provide a ROS/Qt5 template. My guess at this stage is that the qt-build is not strictly necessary , and can be replaced by qt-gui.

Stay tuned !

edit flag offensive delete link more

Comments

I changed to Kinetic and it works

odoncn gravatar image odoncn  ( 2019-01-30 00:04:22 -0500 )edit
1

I got my nodes to compile under melodic using qt-gui-cpp instead of qt-build in the findpackage line of cmake.txt. I will edit my answer above and give you the full template once I have a bit more time. Cheers, PLC

plc66 gravatar image plc66  ( 2019-01-30 21:05:20 -0500 )edit
1

Hi, did you manage to solve the issue? I just moved to Ubuntu 18 and can't compile my QT packages.

LeonhardEuler337 gravatar image LeonhardEuler337  ( 2019-04-15 05:24:08 -0500 )edit

@plc66, would be really nice if you could share your template since there is still no example out there...

prex gravatar image prex  ( 2019-11-07 02:56:50 -0500 )edit

@prex See my answer here, maybe it will help you

LeonhardEuler337 gravatar image LeonhardEuler337  ( 2019-11-07 03:09:50 -0500 )edit
0

answered 2021-03-22 14:56:40 -0500

alexspi13 gravatar image

I have create this template for ROS Melodic and Qt. Hope that will help. https://github.com/alexspirou/ROS_Mel...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-01-11 03:38:48 -0500

Seen: 2,229 times

Last updated: Mar 22 '21