summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/autotest_global.h
blob: f28b6a2f515fa89078e09359cdde1da35a8935e1 (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-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QtGlobal>

#if defined(AUTOTEST_LIBRARY)
#  define AUTOTESTSHARED_EXPORT Q_DECL_EXPORT
#elif defined(AUTOTEST_STATIC_LIBRARY)
#  define AUTOTESTSHARED_EXPORT
#else
#  define AUTOTESTSHARED_EXPORT Q_DECL_IMPORT
#endif