1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QMLDOM_GLOBAL_H
5#define QMLDOM_GLOBAL_H
6
7#include <QtCore/qglobal.h>
8
9#if defined(QMLDOM_DYNAMIC)
10#if defined(QMLDOM_LIBRARY)
11# define QMLDOM_EXPORT Q_DECL_EXPORT
12#else
13# define QMLDOM_EXPORT Q_DECL_IMPORT
14#endif
15#else
16# define QMLDOM_EXPORT
17#endif
18
19QT_BEGIN_NAMESPACE
20// avoid annoying warning about missing QT_BEGIN_NAMESPACE...
21QT_END_NAMESPACE
22
23#endif // QMLDOM_GLOBAL_H
24

source code of qtdeclarative/src/qmldom/qqmldom_global.h