MapLibre Native for Qt
Loading...
Searching...
No Matches
export_core.hpp
1// Copyright (C) 2023 MapLibre contributors
2
3// SPDX-License-Identifier: BSD-2-Clause
4
5#ifndef QMAPLIBRE_CORE_EXPORT_H
6#define QMAPLIBRE_CORE_EXPORT_H
7
8#include <QtCore/QtGlobal>
9
10#if !defined(QT_MAPLIBRE_STATIC)
11#if defined(QT_BUILD_MAPLIBRE_CORE_LIB)
12#define Q_MAPLIBRE_CORE_EXPORT Q_DECL_EXPORT
13#else
14#define Q_MAPLIBRE_CORE_EXPORT Q_DECL_IMPORT
15#endif
16#else
17#define Q_MAPLIBRE_CORE_EXPORT
18#endif
19
20#endif // QMAPLIBRE_CORE_EXPORT_H