I have an error when I run
cmake ... Could you please help me? Thanks so much
I want to build my project. I use
cd build/ and
cmake ...Then I got this 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): CMakeLists.txt:8 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/home/jingsheng/src/build/CMakeFiles/CMakeOutput.log".
After that, I check my QT version with
qmake --version. Then I got:
QMake version 3.1 Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu
My OS is Ubuntu 20.04 LTS. Could you please help me, how could I do?