swift
Loading...
Searching...
No Matches
swiftguiexport.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_GUI_SWIFT_GUIEXPORT_H
7#define SWIFT_GUI_SWIFT_GUIEXPORT_H
8
9#include <QtGlobal>
10
15#ifndef WITH_STATIC
16# ifdef BUILD_SWIFT_GUI_LIB
17# define SWIFT_GUI_EXPORT Q_DECL_EXPORT
18# else
19# define SWIFT_GUI_EXPORT Q_DECL_IMPORT
20# endif
21#else
22# define SWIFT_GUI_EXPORT
23#endif
24
29#if defined(Q_OS_WIN) && defined(Q_CC_GNU)
30# define SWIFT_GUI_EXPORT_DECLARE_TEMPLATE SWIFT_GUI_EXPORT
31#else
32# define SWIFT_GUI_EXPORT_DECLARE_TEMPLATE
33#endif
34
35#endif // SWIFT_GUI_SWIFT_GUIEXPORT_H