While building the jsk_rviz_plugins from source on a ubuntu 22.04 system in a catkin workspace, had the following error message. And to fix it, included the QPainterPath header.
jsk_visualization/jsk_rviz_plugins/src/overlay_diagnostic_display.cpp:388:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
388 | QPainterPath path;
While building the jsk_rviz_plugins from source on a ubuntu 22.04 system in a catkin workspace, had the following error message. And to fix it, included the QPainterPath header.