1 | // Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB). |
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 QT3DRENDER_GLOBAL_H |
5 | #define QT3DRENDER_GLOBAL_H |
6 | |
7 | #include <Qt3DCore/qt3dcore_global.h> |
8 | #include <Qt3DRender/qt3drender-config.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | #if defined(QT_SHARED) || !defined(QT_STATIC) |
13 | # if defined(QT_BUILD_3DRENDER_LIB) |
14 | # define Q_3DRENDERSHARED_EXPORT Q_DECL_EXPORT |
15 | # else |
16 | # define Q_3DRENDERSHARED_EXPORT Q_DECL_IMPORT |
17 | # endif |
18 | #else |
19 | # define Q_3DRENDERSHARED_EXPORT |
20 | #endif |
21 | |
22 | QT_END_NAMESPACE |
23 | |
24 | #endif // QT3DRENDER_GLOBAL_H |
25 | |