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

2015-03-13 Thread Matthias Kuhn
Hi, Why would you want to do that? I guess the easiest thing is to remove it from src/providers/CMakeLists.txt Best Matthias On 03/13/2015 09:24 AM, Luca Manganelli wrote: Hi, it seems there is no way to avoid compilation of spatialite on qgis 2.8 sources, is it true?

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

2015-03-13 Thread Matthias Kuhn
On 03/13/2015 09:35 AM, Luca Manganelli wrote: On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn matth...@opengis.ch wrote: Hi, Why would you want to do that? I guess the easiest thing is to remove it from src/providers/CMakeLists.txt Because I want to compile only QGIS Server and we have

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

2015-03-13 Thread Matthias Kuhn
On 03/13/2015 10:46 AM, Luca Manganelli wrote: On Fri, Mar 13, 2015 at 10:38 AM, Matthias Kuhn matth...@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),

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

2015-03-13 Thread Sandro Santilli
On Fri, Mar 13, 2015 at 09:35:27AM +0100, Luca Manganelli wrote: On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn matth...@opengis.ch wrote: Hi, Why would you want to do that? I guess the easiest thing is to remove it from src/providers/CMakeLists.txt Because I want to compile only

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

2015-03-13 Thread Luca Manganelli
On Fri, Mar 13, 2015 at 10:58 AM, Matthias Kuhn matth...@opengis.ch wrote: So you will need to introduce some CMake magic to skip this part when compiling without spatialite. In qgisapp.cpp: extern C { #include spatialite.h } so, I think that sources should be modified, too...

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

2015-03-13 Thread Luca Manganelli
On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn matth...@opengis.ch wrote: Hi, Why would you want to do that? I guess the easiest thing is to remove it from src/providers/CMakeLists.txt Because I want to compile only QGIS Server and we have data only on Postgis server

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

2015-03-13 Thread Luca Manganelli
Hi, it seems there is no way to avoid compilation of spatialite on qgis 2.8 sources, is it true? ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-03-13 Thread Matthias Kuhn
On 03/13/2015 11:51 AM, Luca Manganelli wrote: On Fri, Mar 13, 2015 at 10:58 AM, Matthias Kuhn matth...@opengis.ch wrote: So you will need to introduce some CMake magic to skip this part when compiling without spatialite. In qgisapp.cpp: extern C { #include spatialite.h } so, I think