aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/core_global.h
blob: fb361824ab529de1c41b5cd0d8427c53daa88ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <qglobal.h>

#if defined(CORE_LIBRARY)
#  define CORE_EXPORT Q_DECL_EXPORT
#elif defined(CORE_STATIC_LIBRARY) // Abuse single files for manual tests
#  define CORE_EXPORT
#else
#  define CORE_EXPORT Q_DECL_IMPORT
#endif