In reply to this post by Sriram Raghunathan via ros-users
Hi,what do you mean by running inside Qt ? Building an application that uses Qt and ROS2 or opening a ROS2 package inside the Qt Creator IDE ? In the second case I'd say it is easier to open a bash. Then source the ros2_ws and your own workspace. (See also https://discourse.ros.org/t/trouble-opening-package-in-qtcreator/2196/5)
and then start qtcreator in this terminal.