Skip to content

Commit ca43d8d

Browse files
committed
resolve cyclic include masking QgsDiagramLayerSettings in 2479d83 on windows
1 parent d198188 commit ca43d8d

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

src/core/qgsdiagramrendererv2.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,18 @@
2020
#include <QList>
2121
#include <QPointF>
2222
#include <QSizeF>
23+
#include <QDomDocument>
24+
2325
#include "qgsfeature.h"
24-
#include "qgspallabeling.h"
2526

2627
class QgsDiagram;
2728
class QgsDiagramRendererV2;
2829
class QgsFeature;
2930
class QgsRenderContext;
3031
class QDomElement;
32+
class QgsPalGeometry;
33+
class QgsCoordinateTransform;
34+
class QgsMapToPixel;
3135
namespace pal { class Layer; }
3236

3337
class CORE_EXPORT QgsDiagramLayerSettings

src/core/qgspallabeling.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class QgsMapRenderer;
2929
class QgsRectangle;
3030
class QgsCoordinateTransform;
3131
class QgsLabelSearchTree;
32-
class QgsDiagramLayerSettings;
3332

3433
#include <QString>
3534
#include <QFont>
@@ -53,6 +52,7 @@ class QgsFeature;
5352
#include "qgsrectangle.h"
5453
#include "qgsmaprenderer.h" // definition of QgsLabelingEngineInterface
5554
#include "qgsexpression.h"
55+
#include "qgsdiagramrendererv2.h"
5656

5757
class QgsPalGeometry;
5858
class QgsVectorLayer;

src/core/qgsvectorlayer.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
#include "qgsdiagramrendererv2.h"
7474
#include "qgsstylev2.h"
7575
#include "qgssymbologyv2conversion.h"
76+
#include "qgspallabeling.h"
7677

7778
#ifdef TESTPROVIDERLIB
7879
#include <dlfcn.h>

tests/src/core/testqgsdiagram.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
#include <qgsrendererv2.h>
4242
//qgis test includes
4343
#include "qgsrenderchecker.h"
44+
#include "qgspallabeling.h"
4445

4546
/** \ingroup UnitTests
4647
* This is a unit test for the vector layer class.

0 commit comments

Comments
 (0)