Fatal error: QtCore/qglobal.h: No such file or directory when trying to catkin_make in ROS


#1

I am new to ROS and Dobot Magician. Now I am trying to write a program that integrates convey belt and the robot arm under ROS. However in the original library attached to the ROS demo, there are no functions for color sensor or infrared sensor.

So I used the pre-compiled DobotDll for linux. However when I run catkin_make, it gives the following error:
fatal error: QtCore/qglobal.h: No such file or directory

Did anyone have a similar situation? Any help would be useful.

P.S. I am using Qt 5.7.0, ubuntu 16.04, ROS kinectic

Thank you in advance.