Re: [Qgis-developer] How to compile QGIS 2.8 without Spatialite?
On 03/13/2015 11:51 AM, Luca Manganelli wrote: > On Fri, Mar 13, 2015 at 10:58 AM, Matthias Kuhn wrote: >> So you will need to introduce some CMake magic to skip this part when >> compiling without spatialite. > In qgisapp.cpp: > > extern "C" > { >#include > } > > so, I think that sources should be modified, too... Yes, but that will not concern server if I am not mistaken. ___ 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?
On Fri, Mar 13, 2015 at 10:58 AM, Matthias Kuhn wrote: > So you will need to introduce some CMake magic to skip this part when > compiling without spatialite. In qgisapp.cpp: extern "C" { #include } so, I think that sources should be modified, too... ___ 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?
On 03/13/2015 10:46 AM, Luca Manganelli wrote: > On Fri, Mar 13, 2015 at 10:38 AM, Matthias Kuhn 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 ___ 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?
On 03/13/2015 09:35 AM, Luca Manganelli wrote: > On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn 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 If it's only a deployment thing: you can just remove all the lib[xxx]provider.so files on the server (after compiling). signature.asc Description: OpenPGP digital signature ___ 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?
On Fri, Mar 13, 2015 at 09:35:27AM +0100, Luca Manganelli wrote: > On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn 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 Sounds worth a pull request. Maybe a whole setting to disable client ? --strk; ___ 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?
On Fri, Mar 13, 2015 at 9:28 AM, Matthias Kuhn 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 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?
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? > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] How to compile QGIS 2.8 without Spatialite?
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