<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I am trying to compile the latest 2.18 branch on CentOS 7 but fail to build. The error message is:</p>
<p>-------------------------------------------</p>
<p>/home/svc/dev/QGIS/src/providers/wfs/qgswfsprovider.cpp: In member function ‘bool QgsWFSProvider::readAttributesFromSchema(QDomDocument&, const QString&,<br />/home/svc/dev/QGIS/src/providers/wfs/qgswfsprovider.cpp:1283:69: error: ‘QStringLiteral’ was not declared in this scope<br /> QString ref = attributeElement.attribute( QStringLiteral( "ref" ) );<br /> ^<br />make[2]: *** [src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsprovider.cpp.o] Error 1<br />make[1]: *** [src/providers/wfs/CMakeFiles/wfsprovider.dir/all] Error 2<br />make: *** [all] Error 2</p>
<p>---------------------------------------</p>
<p>Probably related to the latest fix <a href="https://github.com/qgis/QGIS/commit/bc49b5ea84aee01fdc7e0613595317767d58603e">https://github.com/qgis/QGIS/commit/bc49b5ea84aee01fdc7e0613595317767d58603e</a> ?</p>
<p>Thanks if you have any ideas.</p>
<p>Andreas</p>
</body></html>