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

Neumann, Andreas a.neumann at carto.net
Mon Jul 3 04:20:26 PDT 2017


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 

--------------------------------------- 

Probably related to the latest fix
https://github.com/qgis/QGIS/commit/bc49b5ea84aee01fdc7e0613595317767d58603e
? 

Thanks if you have any ideas. 

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170703/023bc666/attachment-0001.html>


More information about the QGIS-Developer mailing list