Skip to content

Updating Qt version in RViz-Custom-Display tutorial#6694

Open
dheerubhai-101 wants to merge 1 commit into
ros2:lyricalfrom
dheerubhai-101:patch-1
Open

Updating Qt version in RViz-Custom-Display tutorial#6694
dheerubhai-101 wants to merge 1 commit into
ros2:lyricalfrom
dheerubhai-101:patch-1

Conversation

@dheerubhai-101
Copy link
Copy Markdown
Contributor

Description

For ros-lyrical, when building a custom RViz display as per documentation, it leads to CMake error

Finished <<< rviz_plugin_tutorial_msgs [4.18s]                    
Starting >>> rviz_plugin_tutorial
--- stderr: rviz_plugin_tutorial                         
CMake Error at CMakeLists.txt:25 (qt5_wrap_cpp):
  Unknown CMake command "qt5_wrap_cpp".


---
Failed   <<< rviz_plugin_tutorial [1.68s, exited with code 1]

As Qt6 is the default for ros-lyrical, "qt5_wrap_cpp" is changed to "qt6_wrap_cpp" after which it builds successfully.

Fixes ros2/lyrical_tutorial_party#2737

Did you use Generative AI?

No

Additional Information

NA

As Qt6 is the default for `ros-lyrical`, "qt5_wrap_cpp" is changed to "qt6_wrap_cpp"

Signed-off-by: Satya Dheeraj <83055325+dheerubhai-101@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant