[QGIS-Developer] Can't build with GRASS currently

Andreas Neumann a.neumann at carto.net
Mon Oct 30 03:47:41 PDT 2017


Hi,

I currently have to disable GRASS in order to build QGIS master.

Seems like the very recent API changes from Matthias triggered the issue:

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

../src/providers/grass/qgis.v.in.cpp: In function ‘int main(int, char**)’:
../src/providers/grass/qgis.v.in.cpp:282:9: error: ‘QgsPolygonXYpolygon’ 
was not declared in this scope
          QgsPolygonXYpolygon = geometry.asPolygon();
          ^~~~~~~~~~~~~~~~~~~
../src/providers/grass/qgis.v.in.cpp:282:9: note: suggested alternative: 
‘QgsPolygonXY’
          QgsPolygonXYpolygon = geometry.asPolygon();
          ^~~~~~~~~~~~~~~~~~~
          QgsPolygonXY
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:41:0,
                  from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:43,
                  from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
                  from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/QByteArray:1,
                  from ../src/providers/grass/qgis.v.in.cpp:33:
../src/providers/grass/qgis.v.in.cpp:283:52: error: ‘polygon’ was not 
declared in this scope
          Q_FOREACH ( const QgsPolylineXY &polyline, polygon )
                                                     ^
../src/providers/grass/qgis.v.in.cpp:283:52: note: suggested 
alternative: ‘QPolygon’
[2830/4390] Generating core/sip_corepart0.cpp, core/sip_corepart1.cpp, 
core/sip_corepart2.cpp, core/sip_corepart3.cpp

[2831/4390] Generating gui/sip_guipart0.cpp, gui/sip_guipart1.cpp, 
gui/sip_guipart2.cpp, gui/sip_guipart3.cpp

ninja: build stopped: subcommand failed.

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

Greetings,

Andreas



More information about the QGIS-Developer mailing list