Turn existing GUI into rqt plugin, errors in plugin_bridge.h
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/6...
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/2493... 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!
I added "rosbuild_prepare_qt4(QtCore QtGui)" in the CMakeLists.txt, could that be the origin of the problem? I added it, because my GUI won't run without it.
Was this solved? I'm getting the same error and can't figure out why :(