| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QDATAVISUALIZATIONGLOBAL_H |
| 5 | #define QDATAVISUALIZATIONGLOBAL_H |
| 6 | |
| 7 | #include <QtCore/qglobal.h> |
| 8 | #include <QtDataVisualization/qtdatavisualizationexports.h> |
| 9 | |
| 10 | QT_BEGIN_NAMESPACE |
| 11 | |
| 12 | #define QT_DATAVISUALIZATION_VERSION_STR QT_VERSION_STR |
| 13 | /* |
| 14 | QT_DATAVISUALIZATION_VERSION is (major << 16) + (minor << 8) + patch. |
| 15 | */ |
| 16 | #define QT_DATAVISUALIZATION_VERSION QT_VERSION |
| 17 | /* |
| 18 | can be used like #if (QT_DATAVISUALIZATION_VERSION >= QT_DATAVISUALIZATION_VERSION_CHECK(1, 0, 0)) |
| 19 | */ |
| 20 | #define QT_DATAVISUALIZATION_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) |
| 21 | |
| 22 | #ifdef QTGRAPHS_HEADERS |
| 23 | #error Mixing QtDataVisualization and QtGraphs in the same TU is unsupported since they use\ |
| 24 | the same class names. |
| 25 | #endif |
| 26 | |
| 27 | #define |
| 28 | |
| 29 | QT_END_NAMESPACE |
| 30 | |
| 31 | #endif |
| 32 | |