blob: 2516b3c0f1a73706a7d150922bc27fc47fbe4e8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef QCHARTGLOBAL_H
#define QCHARTGLOBAL_H
#if 0
#pragma qt_class(QChartGlobal)
#endif
#include <QtCore/qglobal.h>
#include <QtCharts/qtcharts-config.h>
#include <QtCharts/qtchartsexports.h>
#define Q_CHARTS_AUTOTEST_EXPORT Q_AUTOTEST_EXPORT
#define QT_CHARTS_VERSION_STR QT_VERSION_STR
/*
QT_CHARTS_VERSION is (major << 16) + (minor << 8) + patch.
*/
#define QT_CHARTS_VERSION QT_VERSION
/*
can be used like #if (QT_CHARTS_VERSION >= QT_CHARTS_VERSION_CHECK(1, 1, 0))
*/
#define QT_CHARTS_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
#ifdef QTGRAPHS_HEADERS
#error Mixing QtCharts and QtGraphs in the same TU is unsupported since they use\
the same class names.
#endif
#define QTCHARTS_HEADERS
#endif // QCHARTGLOBAL_H
|