<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div><div>Hi,<br><br></div>I'm trying to compile QGIS for the first time on Ubuntu Xenial, I've followed the instructions to compile the Qt4 version:<br><a href="https://github.com/qgis/QGIS/blob/master/INSTALL" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/INSTALL</a><br>I did apt-get update+upgrade and got the latest sources following this guide.<br><br></div>I'm getting the attached CMake error message while trying to configure. pressing 'c' and 'e' a few times as suggested doesn't seem to help as I don't get the 'g' option.<br></div><div><br></div><div>I would like to try to debug QGIS and set breakpoints in cpp files in order to understand pieces of the code better. I'd be happy if you could give me some pointers on how to do that.<br></div><div><br></div>Thanks. <br><div><br><br> CMake Error at CMakeLists.txt:252 (FIND_PACKAGE):<br>   By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has<br>   asked CMake to find a package configuration file provided by "Qt5Gui", but<br>   CMake did not find one.<br><br>   Could not find a package configuration file provided by "Qt5Gui" with any<br>   of the following names:<br><br>     Qt5GuiConfig.cmake<br>     qt5gui-config.cmake<br><br>   Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set<br>   "Qt5Gui_DIR" to a directory containing one of the above files.  If "Qt5Gui"<br>   provides a separate development package or SDK, be sure it has been<br>   installed.<br><br><br></div></div>
</div><br></div>