ROS初学问题记录--Qt版本
catkin_make error
CMake Error at /usr/share/cmake-3.16/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version “5.12.8” from /usr/bin/qmake, this code
requires Qt 4.x
Call Stack (most recent call first):
hector_slam/hector_geotiff/CMakeLists.txt:12 (find_package)
Found Qt5 but Qt4 is required for the project.
The Qt4 packages are available from third party PPA. You have to add it with 1:
sudo add-apt-repository ppa:rock-core/qt4
sudo apt-get update
and then install necessary development package
sudo apt-get install libqt4-dev qt4-qmake qt4-dev-tools