If you wish to compile rekonq, you have to install the headers of kdelibs and you need git and the build essentials installed.
Under Debian/Ubuntu™ you get those through running
build-essential kdelibs5-dev git-core
Under OpenSuse you get those through running
libkde4-devel git-core gcc gcc-c++ make cmake
We will be using git, as the most recent code is available on the git repository. The KDE Projects web page for rekonq can be found here. Stable releases, can also be downloaded here in form of tarballs.
Now we need to checkout the latest code. To do so, in a terminal run:
To compile the code type in the following