Skip to content

Commit 25f0c99

Browse files
authored
fix: custom rviz panel failed to launch for rvc sample (open-edge-platform#2374)
1 parent 1d45b27 commit 25f0c99

File tree

1 file changed

+4
-1
lines changed
  • robotics-ai-suite/robot-vision-control/src/rvc_panel_rviz2_plugin

1 file changed

+4
-1
lines changed

robotics-ai-suite/robot-vision-control/src/rvc_panel_rviz2_plugin/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ set(SRC_FILES
6262
## "rviz_plugin_tutorials", or whatever your version of this project
6363
## is called) and specify the list of source files we collected above
6464
## in ``${SRC_FILES}``. We also add the needed dependencies.
65-
add_library(${PROJECT_NAME} SHARED ${SRC_FILES})
65+
qt5_wrap_cpp(MOC_FILES
66+
src/rvc_panel.hpp
67+
)
68+
add_library(${PROJECT_NAME} SHARED ${SRC_FILES} ${MOC_FILES})
6669
ament_target_dependencies(${PROJECT_NAME}
6770
geometry_msgs
6871
rclcpp

0 commit comments

Comments
 (0)