Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x

qmake: could not exec '/usr/lib/aarch64-linux-gnu/qt4/bin/qmake': No such file or directory
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):
  slam_p/hector_slam/hector_geotiff/CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/star/starrobot_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/star/starrobot_ws/build/CMakeFiles/CMakeError.log".
Makefile:6324: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

Found unsuitable Qt version
解决方法:

sudo apt-get install qt4-default 

重新编译,即可成功``。
或者:
用QT5编译
```py
catkin_make -DUseQt5=ON -j2

你可能感兴趣的:(Debug错误集锦)