Then sourcing before is the easiest possibility. See https://stackoverflow.com/questions/30246742/setting-environment-variables-at-qt-creator-by-sourcing-a-shell-script Otherwise: [quote="firesurfer, post:5, topic:2673"] In qtcreator (the ide) there is somewhere at the project tab the possibilty to set a custom build / run environment. [/quote] https://doc-snapshots.qt.io/qtcreator-4.0/creator-build-settings.html --- [Visit Topic](https://discourse.ros.org/t/ros2-running-command-inside-qt/2673/7) or reply to this email to respond. If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates. ______________________________________________________________________________ ros-users mailing list ros-users@lists.ros.org http://lists.ros.org/mailman/listinfo/ros-users Unsubscribe: