Search code examples
cmakekate

Kate Cmake error


I am trying to build Kate on Linux Mint Cinnamon 17.1 64-bit. I downloaded Kate source code and tried to install it according to http://kate-editor.org/get-it/. Now while trying to compile, I am getting cmake error.

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!

What am I doing wrong here? Please help.

Thanks.


Solution

  • I assume You have Qt4 development packages installed in Your system and only missing libqt4-opengl-dev. So, the bluntest solution would be just install it. For example like this:

    $ sudo apt-get install libqt4-opengl-dev

    Relevant issue on MacOS: CMake Error: The following variables are used in this project, but they are set to NOTFOUND