I have implemented a GUI in ROS with a custom UI file, using catkin_create_qt_pkg, to my knowledge this is qt4. Based on https://www.cnblogs.com/casperwin/p/6206193.html
I am currently trying to turn it into a rqt-plugin, so I can use it in rqt with other already existing plugins.
I did everything like described in https://answers.ros.org/question/249395/how-to-turn-existing-qt-widgets-into-rqt-plugin/
If I don't change anything and compile with catkin_make, everything works. But after I added my files and added some include statements, i get the following error:
"/opt/ros/kinetic/include/qt_gui_cpp/plugin_bridge.h:63:8: error: 'expected ':' before 'slots' "
and other errors like
error: 'slots does not name a type'
Any help would be greatly appreciated!
↧