Found unsuitable Qt version "5.2.1" from /usr/bin/qmake
JairFrancesco opened this issue · 1 comments
JairFrancesco commented
Error on cmake-gui.
CMake Error at /usr/share/cmake-3.2/Modules/FindQt4.cmake:1326 (message):
Found unsuitable Qt version "5.2.1" from /usr/bin/qmake, this code requires
Qt 4.x
Call Stack (most recent call first):
GUISupport/Qt/CMakeLists.txt:71 (find_package)
JairFrancesco commented
Ok, I found the solution.
Enter the following commands in the terminal.
sudo apt-get install libqt4-core libqt4 libqt4-gui-dev
sudo apt-get install qt4-dev-tools