我正在尝试在Linux Mint Cinnamon 17.1 64位上构建Kate。我下载了Kate源代码并尝试根据http://kate-editor.org/get-it/进行安装。现在,在尝试编译时,我收到了cmake错误。
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTOPENGL_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/sip
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src
used as include directory in directory /home/jaydipc/kde/kate/addons/kate/pate/src/test
-- Configuring incomplete, errors occurred!
我在这里做错了什么?请帮忙。
感谢。
答案 0 :(得分:0)
我假设您的系统中安装了Qt4开发包,但只缺少libqt4-opengl-dev
。因此,最直接的解决方案就是安装它。例如:
$ sudo apt-get install libqt4-opengl-dev
MacOS上的相关问题: CMake Error: The following variables are used in this project, but they are set to NOTFOUND