ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You need to tell cmake where the Qt headers are and link against the Qt libraries you need. This site is helpful:
http://qt-project.org/quarterly/view/using_cmake_to_build_qt_projects
You will need to do something like this:
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
And:
TARGET_LINK_LIBRARIES(laser_test ${QT_LIBRARIES})
After the find_package
call.