diff options
author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-04-18 09:27:54 +0200 |
---|---|---|
committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-04-18 10:55:04 +0200 |
commit | e04518c7dab924603d53cb1499eabbf98f5ce29a (patch) | |
tree | 3dd201ecc77011ceaae63c0eb830dba41c7d6499 | |
parent | 91d8ca59e1629040ac7d38b2a002af1f4daaa1a9 (diff) |
Remove the extra attribute
QBoxSet is already exported with `Q_CHARTS_EXPORT`, and exporting it
again with `Q_CHARTS_PRIVATE_EXPORT` raises `type attributes ignored
after type is already defined [-Werror=attributes]` error, and breaks
the unity build on Windows/MinGW.
In addition, a missing QT_CHARTS_PRIVATE_EXPORT was added to
QBoxPlotModelMapperPrivate class.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I58757432da987754a40ac1c172b70d4fd77c31bc
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/charts/boxplotchart/qboxplotmodelmapper_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charts/boxplotchart/qboxplotmodelmapper_p.h b/src/charts/boxplotchart/qboxplotmodelmapper_p.h index 95986981..9cd7e056 100644 --- a/src/charts/boxplotchart/qboxplotmodelmapper_p.h +++ b/src/charts/boxplotchart/qboxplotmodelmapper_p.h @@ -23,9 +23,9 @@ QT_END_NAMESPACE QT_BEGIN_NAMESPACE -class Q_CHARTS_PRIVATE_EXPORT QBoxSet; +class QBoxSet; -class QBoxPlotModelMapperPrivate : public QObject +class Q_CHARTS_PRIVATE_EXPORT QBoxPlotModelMapperPrivate : public QObject { Q_OBJECT public: |