summaryrefslogtreecommitdiffstats
path: root/src/pdf/qtpdfglobal.h
blob: d38eafaab24f4115561df11581e9b7d2abcb0276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QTPDFGLOBAL_H
#define QTPDFGLOBAL_H

#include <QtCore/qglobal.h>

QT_BEGIN_NAMESPACE

#ifndef Q_PDF_EXPORT
#  ifndef QT_STATIC
#    if defined(QT_BUILD_PDF_LIB)
#      define Q_PDF_EXPORT Q_DECL_EXPORT
#    else
#      define Q_PDF_EXPORT Q_DECL_IMPORT
#    endif
#  else
#    define Q_PDF_EXPORT
#  endif
#endif

#define Q_PDF_PRIVATE_EXPORT Q_PDF_EXPORT

QT_END_NAMESPACE

#endif // QTPDFGLOBAL_H