aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/infrastructure/qmt_global.h
blob: 2be47e0c95d16a5e46772a69c9b5f2b842046f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <QtCore/QtGlobal>

#if defined(MODELING_LIBRARY)
#  define QMT_EXPORT Q_DECL_EXPORT
#elif defined(MODELING_STATIC_LIBRARY)
#  define QMT_EXPORT
#else
#  define QMT_EXPORT Q_DECL_IMPORT
#endif