Skip to content

Commit a5a91ec

Browse files
committed
Fix some more redundant geos includes in headers
And re-add geos include directory for grass provider
1 parent 83cb3da commit a5a91ec

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

python/core/qgslabelsearchtree.sip.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111

1212

13+
1314
class QgsLabelSearchTree
1415
{
1516
%Docstring

src/analysis/vector/geometry_checker/qgsgeometrycheck.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "qgsvectorlayer.h"
2727
#include "geometry/qgsgeometry.h"
2828
#include "qgsgeometrycheckerutils.h"
29-
#include "geos_c.h"
3029

3130
class QgsGeometryCheckError;
3231
class QgsFeaturePool;

src/analysis/vector/geometry_checker/qgsgeometrygapcheck.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "qgsgeometrygapcheck.h"
1818
#include "qgsgeometrycollection.h"
1919
#include "qgsfeaturepool.h"
20+
#include "geos_c.h"
2021

2122
void QgsGeometryGapCheck::collectErrors( QList<QgsGeometryCheckError *> &errors, QStringList &messages, QAtomicInt *progressCounter, const QMap<QString, QgsFeatureIds> &ids ) const
2223
{

src/core/qgslabelsearchtree.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,18 @@
2323
#include "qgis_sip.h"
2424
#include <QList>
2525
#include <QVector>
26-
#include "pointset.h"
27-
#include "labelposition.h"
2826
#include "qgspallabeling.h"
2927
#include "rtree.hpp"
3028

3129
class QgsPointXY;
3230

31+
#ifndef SIP_RUN
32+
namespace pal
33+
{
34+
class LabelPosition;
35+
}
36+
#endif
37+
3338
/**
3439
* \ingroup core
3540
* A class to query the labeling structure at a given point (small wrapper around pal RTree class)

src/providers/grass/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ INCLUDE_DIRECTORIES(
1717
)
1818
INCLUDE_DIRECTORIES (SYSTEM
1919
${GDAL_INCLUDE_DIR}
20+
${GEOS_INCLUDE_DIR}
2021
${PROJ_INCLUDE_DIR}
2122
${POSTGRES_INCLUDE_DIR}
2223
)

0 commit comments

Comments
 (0)