summaryrefslogtreecommitdiffstats
path: root/src/chartsqml2/declarativechartglobal_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chartsqml2/declarativechartglobal_p.h')
-rw-r--r--src/chartsqml2/declarativechartglobal_p.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/chartsqml2/declarativechartglobal_p.h b/src/chartsqml2/declarativechartglobal_p.h
index dba467c6..8bcbc986 100644
--- a/src/chartsqml2/declarativechartglobal_p.h
+++ b/src/chartsqml2/declarativechartglobal_p.h
@@ -41,17 +41,8 @@
#include <QtCore/QtGlobal>
#include <qtcharts-config.h>
+#include <QtChartsQml/private/qtchartsqmlexports_p.h>
-#ifndef QT_STATIC
-# if defined(QT_BUILD_QMLCHARTS_LIB)
-# define Q_QMLCHARTS_PRIVATE_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QMLCHARTS_PRIVATE_EXPORT Q_DECL_IMPORT
-# endif
-#else
-# define Q_QMLCHARTS_PRIVATE_EXPORT
-#endif
-
-void Q_QMLCHARTS_PRIVATE_EXPORT qml_register_types_QtCharts();
+void Q_CHARTSQML_PRIVATE_EXPORT qml_register_types_QtCharts();
#endif // DECLARATIVECHARTGLOBAL_H