Ask Your Question
0

[melodic] catkin_create_qt_pkg: command not found

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

odoncn gravatar image

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

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 imageWilco Bonestroo ( 2019-01-11 08:43:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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 imageodoncn ( 2019-01-30 00:04:22 -0600 )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 imageplc66 ( 2019-01-30 21:05:20 -0600 )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 imageLeonhardEuler337 ( 2019-04-15 05:24:08 -0600 )edit

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

prex gravatar imageprex ( 2019-11-07 02:56:50 -0600 )edit

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

LeonhardEuler337 gravatar imageLeonhardEuler337 ( 2019-11-07 03:09:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 535 times

Last updated: Jan 11