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
10QT_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
22QT_END_NAMESPACE
23
24#endif
25

source code of qtdatavis3d/src/datavisualization/global/qdatavisualizationglobal.h