# Revision history [back]

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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

 2 None gvdhoorn 67477 ●159 ●830 ●809 http://cor.tudelft.nl/

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 with qt-creator-opensource-linux-x86_64-4.7.0.run. 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.

Amongst the step 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


I also tried building the project from qtc but I'm getting errors. I guess I have a wrong setting.

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 succesfully before moving on.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 herewith qt-creator-opensource-linux-x86_64-4.7.0.run. 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.

Amongst the step 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


I also tried building the project from qtc but I'm getting errors. I guess I have a wrong setting.

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 succesfully before moving on.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 qt-creator-opensource-linux-x86_64-4.7.0.run. 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.

Amongst the step 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


I also tried building the project from qtc but I'm getting errors. I guess I have a wrong setting.

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 succesfully before moving on.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 qt-creator-opensource-linux-x86_64-4.7.0.run. 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.

Amongst the step 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


I also tried building the project from qtc but I'm getting errors. I guess I have a wrong setting.

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 succesfully before moving on.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 qt-creator-opensource-linux-x86_64-4.7.0.run. 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


I also tried building the project from qtc but I'm getting errors. I guess 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 think this happens because when building from the terminal I have a wrong setting.to first do

source devel/setup.bash


and possibly qtcreator does not have the environment setting, without running this command? (note that I do run this command from the terminal before launching qtcreator from the terminal)

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 succesfully successfully before moving on.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 qt-creator-opensource-linux-x86_64-4.7.0.run. 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


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 think this happens because when building EDIT:

I was able to build the project from the terminal I have to first do

source devel/setup.bash


and possibly qtcreator does not have the environment setting, without running this command? (note that I do run this command from the terminal before launching qtcreator from the terminal)

qtc. I had to split the build command:

Command:
catkin_make

Arguments:
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=14


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.

### Ubuntu 18.04 ROS Qt Creator Plug-in

Hi

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 qt-creator-opensource-linux-x86_64-4.7.0.run. 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
/proc/sys/kernel/yama/ptrace_scope
For more details, see /etc/sysctl.d/10-ptrace.conf


EDIT:

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"


EDIT:

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

Command:
catkin_make

Arguments:
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=14


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.