[QGIS-Developer] Can't build with GRASS currently
Matthias Kuhn
matthias at opengis.ch
Mon Oct 30 03:50:00 PDT 2017
Thanks Andreas
Should be fixed, sorry for the trouble
Matthias
On 10/30/2017 11:47 AM, Andreas Neumann wrote:
> 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
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the QGIS-Developer
mailing list