ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
@KoenBuys answer works for OpenGL.
And as @Felix Endres suggested I was able to get Qt working with my ROS package. here's some more detail on how:
<rosdep name="qt4"/>
edit CMakelists.txt in your package and make it look similar to CMakelists.txt
-> the line file(GLOB_RECURSE QT_MOC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} FOLLOW_SYMLINKS include/local/.hpp src/mainwindow.h)* should include all the header files that use Qt functionality.
-> the line file(GLOB_RECURSE QT_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} FOLLOW_SYMLINKS src/gicp-fallback.cpp src/mainwindow.cpp src/listener.cpp) should include all the cpp files that use Qt functionality.
Let me know if you have any issues. Thanks.
2 | No.2 Revision |
@KoenBuys answer works for OpenGL.
And as @Felix Endres suggested I was able to get Qt working with my ROS package. here's some more detail on how:
<rosdep name="qt4"/>
edit CMakelists.txt in your package and make it look similar to CMakelists.txt
-> the line file(GLOB_RECURSE QT_MOC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} FOLLOW_SYMLINKS include/local/.hpp src/mainwindow.h)* should include all the header files that use Qt functionality.
-> the line file(GLOB_RECURSE QT_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} FOLLOW_SYMLINKS src/gicp-fallback.cpp src/mainwindow.cpp src/listener.cpp) should include all the cpp files that use Qt functionality.
Let me know if you have any issues. Thanks.