Ask Your Question

Ubuntu 18.04 ROS Qt Creator Plug-in

asked 2018-08-23 13:47:23 -0500

Avner gravatar image

updated 2018-08-24 18:33:29 -0500


Is there a ROS Qt Creator plug-in for Ubuntu 18.04?

The latest I see is a plug-in for Ubunut 16.04 (in here)

Thanks, Avner

Edit: @fergs, thanks for the reply

I followed the installation instructions in here with I have the following environment:

Ubuntu 18.04 bionic - x86_64  
qtcreator version - Qt Creator 4.7.0 based on Qt 5.11.1

I first completed all the instructions, and then tried debugging a running ROS application. I followed the instructions in "1.8 Debug Catkin Workspace" (both by debugging a single file, and Attach to a running process) without success.

Among the steps I also completed "1.1.3 Setup Ubuntu to allow debugging/ptrace" (note that I did not have a file /etc/rc.local so I created an empty one with the following content) and rebooted.

#!/bin/sh -e
echo 0 | tee /proc/sys/kernel/yama/ptrace_scope
exit 0

But I'm getting an error message:

ptrace: Operation not permitted.
Could not attach to the process. Make sure no other debugger traces this process.
If your uid matches the uid
of the target process, check the settings of
For more details, see /etc/sysctl.d/10-ptrace.conf


After succeeding to build the project within qtc and after setting LD_LIBRARY_PATH in the Build Environment and doing another reboot, I can now run the program from qtc. In other terminals (outside of qtc), I run roscore, and rosviz and I can see the results from the node that is being run within qtc in e.g. rviz

I also tried building the project from qtc but I'm getting errors. The build error message is:

15:27:04: Running steps for project catkin_ws...
15:27:04: Could not start process "catkin_make -DCMAKE_BUILD_TYPE=Debug00" 
Error while building/deploying project catkin_ws (kit: Desktop)
When executing step "Custom Process Step"


I was able to build the project from qtc. I had to split the build command:



It would be useful to have a step after "1.6 Setup Build Settings for Catkin Workspace" to verify that a ROS project from qtc builds successfully before moving on.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-08-23 15:45:59 -0500

fergs gravatar image

It hasn't been released as a Debian yet for 18.04, but you can use the manual installation instructions here:

edit flag offensive delete link more


Thanks, after following the installation instructions and applying some corrections to my settings (as described in the EDITS in my original question) I can build and run a ROS node using qtc and see the results from the node in an external ROS node (e.g. rviz)

Avner gravatar image Avner  ( 2018-08-24 18:35:56 -0500 )edit

answered 2021-03-22 14:55:34 -0500

alexspi13 gravatar image

I have create this template for ROS Melodic and Qt. Hope that will help.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2018-08-23 13:47:23 -0500

Seen: 2,970 times

Last updated: Mar 22