summaryrefslogtreecommitdiff
path: root/src/libs/modelinglib/qmt/infrastructure/qmt_global.h
blob: 74b44e3c293b4ca6085f4f67221b212aab9bdaf0 (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-only 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