rclcpp file not found error for creating GUI user interface with ROS2 (Humble) using QT Creator
I would like to create an user interface with QT Creator for RO2 (Humble). I'm using Ubuntu 22.04 LTS (jammy) These are the different steps that I've done :
First step : I check if the ROS2 is successfully installed and well configured. For that, i use printenv | grep ROS command in the terminal and this is the output :
ROS_VERSION=2
ROS_PYTHON_VERSION=3
ROS_PACKAGE_PATH=/home/hessanon/dev_ws/src:/opt/ros/humble/share
ROS_LOCALHOST_ONLY=0
ROS_DISTRO=humble
Second step: I've installed QT Creator 4.9.2 for ROS development using this link : https://ros-qtc-plugin.readthedocs.io... The installation was successfully done.
Third step : I've created an empty project in QT Creator and I've configured the .pro file like this:
INCLUDEPATH += /opt/ros/humble/include
LIBS += -L/opt/ros/humble/lib -lrclcpp
And I have this error when I include : #include "rclcpp/rclcpp/rclcpp.hpp" in the QT Project :
/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155: error: rclcpp/executors.hpp: No such file or directory
155 | #include "rclcpp/executors.hpp"
| ^~~~~~~~~~~~~~~~~~~~~~
This is the path where the file executors.hpp is : /opt/ros/humble/include/rclcpp/rclcpp
**My question are :
1) Is the path correct ?
2) How can I fix this error?**
Thanks for your help
Willy