ros catkin_make报错之qt4
导入一个程序时编译出现如下错误
qmake: could not find a Qt installation of ''
CMake Error at /usr/share/cmake-3.10/Modules/FindQt4.cmake:1320 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
hector_slam/hector_geotiff/CMakeLists.txt:12 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/lu/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/lu/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:2014: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
这个显示QT4.x有问题,接下来在百度里找到方法如下:
sudo apt-get install qt4-default
再次在工作空间进行编译就可以了
catkin_make