本文主要是介绍CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:634 (message):,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
编译工程时出现cmake找不到Qt4的问题,如下:
CMake Warning at /usr/share/cmake-3.5/Modules/FindQt4.cmake:626 (message):
/usr/bin/qmake-qt4 reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu"but QtCore could not be found there. Qt is NOT installed correctly for the target build environment.
CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:634 (message):Could NOT find QtCore.
解决办法
sudo apt install cmake gcc g++ qt{4,5}-qmake libqt4-dev
这篇关于CMake Error at /usr/share/cmake-3.5/Modules/FindQt4.cmake:634 (message):的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!