summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/chartsqml2/declarativechart.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chartsqml2/declarativechart.cpp b/src/chartsqml2/declarativechart.cpp
index 5e83c87a..040a8629 100644
--- a/src/chartsqml2/declarativechart.cpp
+++ b/src/chartsqml2/declarativechart.cpp
@@ -444,7 +444,7 @@ DeclarativeChart::DeclarativeChart(QChart::ChartType type, QQuickItem *parent)
// QTBUG-71013
// The symbol resides in qbarmodelmapper.cpp#548 in the C++ module.
// Here, it gets imported and reset to the DeclarativeBarSet allocator
-#ifdef Q_OS_WIN
+#if defined(Q_OS_WIN) && !defined(QT_STATIC)
QT_CHARTS_EXPORT
#else
extern