-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
qmake: could not find a Qt installation of ''
CMake Error at /usr/share/cmake-3.16/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
lidar/hector_slam/hector_geotiff/CMakeLists.txt:12 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/pi/mc/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/mc/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
解决办法
sudo apt-get install qt4-default
重新编译,即可成功。
或者用QT5编译
catkin_make -DUseQt5=ON -j4
