Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QT-Creator cant find ros2 packages
Forum Updated to NodeBB v4.3 + New Features

QT-Creator cant find ros2 packages

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
2 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Schloern
    wrote on last edited by
    #1

    Hallo,
    When I load finished ros packages into my project from GitHub, Qtcreator finds all the ros packages.
    When I create a new package by hand it has no links to the Ros packages and shows me all Ros2 commands as errors.
    Is there a way to set this correctly?

    Thanks in advance

    serkan_trS 1 Reply Last reply
    0
    • S Schloern

      Hallo,
      When I load finished ros packages into my project from GitHub, Qtcreator finds all the ros packages.
      When I create a new package by hand it has no links to the Ros packages and shows me all Ros2 commands as errors.
      Is there a way to set this correctly?

      Thanks in advance

      serkan_trS Offline
      serkan_trS Offline
      serkan_tr
      wrote on last edited by serkan_tr
      #2

      @Schloern
      To run ros packages, it is necessary to run the setup.bash file, for example, the setup.bash file should be run in the linux operating system.

      source /opt/ros/humble/setup.bash
      

      Start the QT Creator application in the terminal where you enter the setup.bash controls.

      step 1: Open terminal and enter "source /opt/ros/humble/setup.bash" command. Note: this is ros humble enter your own setup.bash file
      step 2: Open the QT Creator application from the terminal you included ros2
      step 3: If you want to work simultaneously with ROS, use threads.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved