Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

include QWidget

$
0
0
I am building a package (where I use mainly MoveIt! functionalities) where in a .cpp file I am including the headers listed below, which themselves include QWidget. I read a bit about what QWidget and Qt are, and it has little to do with what I want to do. I tried to add: set( headers include/moveit/motion_planning_rviz_plugin/motion_planning_display.h include/moveit/motion_planning_rviz_plugin/motion_planning_frame.h ) qt4_wrap_cpp(MOC_SOURCES ${headers}) Since those two are the headers which include Qt stuff. I still have the same problem: fatal error: QWidget: No such file or directory #include I installed ros-indigo-qt-* but it didn't help. I found a QWidget and a QObject under /usr/include/qt4/, so I guess I should find a way to link those to my package. Am I right? And what should I do?

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>