[Qgis-developer] How to compile QGIS 2.8 without Spatialite?

Matthias Kuhn matthias at opengis.ch
Fri Mar 13 02:58:20 PDT 2015



On 03/13/2015 10:46 AM, Luca Manganelli wrote:
> On Fri, Mar 13, 2015 at 10:38 AM, Matthias Kuhn <matthias at opengis.ch> wrote:
>> If it's only a deployment thing: you can just remove all the
>> lib[xxx]provider.so files on the server (after compiling).
> We compile all recent libraries (GDAL, GEOS, etc), so we should
> compile spatiallite library, too... disabling it on ccmake would be
> nicer :-)
Just checked again.
There's also a dependency on spatialite from qgis_core. More particular,
offline editing makes use of it.

So you will need to introduce some CMake magic to skip this part when
compiling without spatialite.

Matthias


More information about the Qgis-developer mailing list