[QGIS-Developer] Trouble compiling QGIS on CentOS - WFS provider related

Neumann, Andreas a.neumann at carto.net
Mon Jul 3 06:13:56 PDT 2017


Thanks a lot for the fix - it compiles fine now. 

Sorry for having such an old qt version! 

Andreas 

On 2017-07-03 13:27, Even Rouault wrote:

> On lundi 3 juillet 2017 13:20:26 CEST Neumann, Andreas wrote: 
> 
>> Hi, 
> 
>> 
> 
>> I am trying to compile the latest 2.18 branch on CentOS 7 but fail to 
> 
>> build. The error message is: 
> 
>> 
> 
>> ------------------------------------------- 
> 
>> 
> 
>> /home/svc/dev/QGIS/src/providers/wfs/qgswfsprovider.cpp: In member 
> 
>> function 'bool QgsWFSProvider::readAttributesFromSchema(QDomDocument&, 
> 
>> const QString&, 
> 
>> /home/svc/dev/QGIS/src/providers/wfs/qgswfsprovider.cpp:1283:69: error: 
> 
>> 'QStringLiteral' was not declared in this scope 
> 
>> QString ref = attributeElement.attribute( QStringLiteral( "ref" ) 
> 
>> ); 
> 
>> ^ 
> 
>> make[2]: *** 
> 
>> [src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsprovider.cpp.o] 
> 
>> Error 1 
> 
>> make[1]: *** [src/providers/wfs/CMakeFiles/wfsprovider.dir/all] Error 2 
> 
>> make: *** [all] Error 2 
> 
>> 
> 
> Ah sorry for that. I just pushed a fix. 
> 
> Even 
> 
> -- 
> 
> Spatialys - Geospatial professional services 
> 
> http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170703/21d94df3/attachment.html>


More information about the QGIS-Developer mailing list