[QGIS-Developer] Cannot load QGIS source code in QTCreator

Alessandro Pasotti apasotti at gmail.com
Wed Nov 14 23:25:53 PST 2018


On Wed, Nov 14, 2018 at 12:26 PM Andrea Aime <andrea.aime at geo-solutions.it>
wrote:

> Hi,
> I'm trying to load the master branch of QGIS into QTCreator following the
> instructions at
> https://www.qgis.org/it/site/getinvolved/development/qgisdevelopersguide/qtcreator.html
> Trying to load the CMakeLists.txt file fails immediately, and I get this
> in the console:
>
> Running "/usr/bin/cmake -E server --pipe=/tmp/cmake-TWdPXn/socket
> --experimental" in /home/aaime/tmp/qgis-build.
>
> CMake Project parsing failed.
>
> Parsing of CMake project failed: Connection to CMake server lost.
>
>
> I've only found this ticket searching the internet, unfortunately, it
> contains no workaround:
>
> https://bugreports.qt.io/browse/QTCREATORBUG-20972
>
>
> 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).
>
>
> Does anyone know of workarounds to use QTCreator?
>
> Or, should I look at setting up using a different IDE?
>
>
> Cheers
>
> Andrea
>
>
> == GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead
>

Hi Andrea,

I've never seen that particular error, I'd look into cmake installation
and/or version.

The vast majority of QGIS C++ developers uses Qt Creator on a daily basis
on different platforms, what work for me here is:

Ubuntu xenial

QtCreator: 4.7.2 installed from https://www.qt.io/download
cmake version 3.10.2 self-built from sources
Qt 10.0.1 self-built from sources

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.

I hope this helps.


Cheers

-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181115/b8981de2/attachment.html>


More information about the QGIS-Developer mailing list