1 | // Copyright (C) 2019 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 QTQMLCOMPILERGLOBAL_H |
5 | #define QTQMLCOMPILERGLOBAL_H |
6 | |
7 | #include <QtCore/qglobal.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | #if defined(QT_STATIC) |
12 | # define Q_QML_COMPILER_EXPORT |
13 | #else |
14 | # if defined(QT_BUILD_QML_LIB) |
15 | # define Q_QML_COMPILER_EXPORT Q_DECL_EXPORT |
16 | # else |
17 | # define Q_QML_COMPILER_EXPORT Q_DECL_IMPORT |
18 | # endif |
19 | #endif |
20 | |
21 | QT_END_NAMESPACE |
22 | #endif // QTQMLCOMPILERGLOBAL_H |
23 | |