1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QCHARTGLOBAL_H
5#define QCHARTGLOBAL_H
6
7#if 0
8#pragma qt_class(QChartGlobal)
9#endif
10
11#include <QtCore/qglobal.h>
12#include <QtCharts/qtcharts-config.h>
13#include <QtCharts/qtchartsexports.h>
14
15#define Q_CHARTS_AUTOTEST_EXPORT Q_AUTOTEST_EXPORT
16
17#define QT_CHARTS_VERSION_STR QT_VERSION_STR
18/*
19 QT_CHARTS_VERSION is (major << 16) + (minor << 8) + patch.
20*/
21#define QT_CHARTS_VERSION QT_VERSION
22/*
23 can be used like #if (QT_CHARTS_VERSION >= QT_CHARTS_VERSION_CHECK(1, 1, 0))
24*/
25#define QT_CHARTS_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
26
27#endif // QCHARTGLOBAL_H
28

source code of qtcharts/src/charts/qchartglobal.h