diff --git a/src/qchart.h b/src/qchart.h index 3a81112..bbb8493 100644 --- a/src/qchart.h +++ b/src/qchart.h @@ -31,7 +31,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE class QSeries; class QChartAxis; class QLegend; -class QChartPrivate; +struct QChartPrivate; class QTCOMMERCIALCHART_EXPORT QChart : public QGraphicsWidget { diff --git a/src/qchartview.h b/src/qchartview.h index 957b55a..bd0078e 100644 --- a/src/qchartview.h +++ b/src/qchartview.h @@ -31,7 +31,7 @@ class QRubberBand; QTCOMMERCIALCHART_BEGIN_NAMESPACE -class QChartViewPrivate; +struct QChartViewPrivate; class QTCOMMERCIALCHART_EXPORT QChartView : public QGraphicsView {