<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018 at 12:26 PM Andrea Aime <<a href="mailto:andrea.aime@geo-solutions.it">andrea.aime@geo-solutions.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div>I'm trying to load the master branch of QGIS into QTCreator following the instructions at <a href="https://www.qgis.org/it/site/getinvolved/development/qgisdevelopersguide/qtcreator.html" target="_blank">https://www.qgis.org/it/site/getinvolved/development/qgisdevelopersguide/qtcreator.html</a></div><div>Trying to load the CMakeLists.txt file fails immediately, and I get this in the console:</div><div><br></div><div><p style="margin:0px;white-space:pre-wrap">Running "/usr/bin/cmake -E server --pipe=/tmp/cmake-TWdPXn/socket --experimental" in /home/aaime/tmp/qgis-build.</p>
<p style="margin:0px;white-space:pre-wrap">CMake Project parsing failed.</p>
<p style="margin:0px;white-space:pre-wrap">Parsing of CMake project failed: Connection to CMake server lost.</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">I've only found this ticket searching the internet, unfortunately, it contains no workaround:</p><p style="margin:0px"><span style="white-space:pre-wrap"><a href="https://bugreports.qt.io/browse/QTCREATORBUG-20972" target="_blank">https://bugreports.qt.io/browse/QTCREATORBUG-20972</a></span><br></p><p style="margin:0px"><span style="white-space:pre-wrap"><br></span></p><p style="margin:0px"><span style="white-space:pre-wrap">My environment is a Linux Mint 19, which should be based on Ubuntu Bionic (I've setup the dependencies as per docs on bionic distros).</span></p><p style="margin:0px"><span style="white-space:pre-wrap"><br></span></p><p style="margin:0px"><span style="white-space:pre-wrap">Does anyone know of workarounds to use QTCreator?</span></p><p style="margin:0px"><span style="white-space:pre-wrap">Or, should I look at setting up using a different IDE?</span></p><p style="margin:0px"><span style="white-space:pre-wrap"><br></span></p><p style="margin:0px"><span style="white-space:pre-wrap">Cheers</span></p><p style="margin:0px"><span style="white-space:pre-wrap">Andrea</span></p><p style="margin:0px"><br></p><div dir="ltr" class="gmail-m_-2401735550782328019gmail-m_-4729862964026820577gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font face="Arial"><span style="font-size:14.6667px;white-space:pre-wrap">==
GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.
==

Ing. Andrea Aime 
@geowolf
Technical Lead</span></font><br></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Hi Andrea,</div><div><br></div><div>I've never seen that particular error, I'd look into cmake installation and/or version.</div><div><br></div><div>The vast majority of QGIS C++ developers uses Qt Creator on a daily basis on different platforms, what work for me here is:</div><div><br></div><div>Ubuntu xenial</div><div><br></div><div>QtCreator: 4.7.2 installed from <a href="https://www.qt.io/download">https://www.qt.io/download</a><br></div><div>cmake version 3.10.2 self-built from sources</div><div>Qt 10.0.1 self-built from sources</div><div><br></div><div>Notice that none of the above was installed with apt, the main reason is that xenial is a little bit old, but IIRC that was also to avoid some problems in the integration of the different components.<br></div><div><br></div><div>I hope this helps.<br></div><div><br></div><div><br></div><div>Cheers</div><div><br></div><div>-- <br></div></div><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div></div></div>