aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor/resource_global.h
blob: 5e21c896135b1f5ed4b18348bef542d313b1abe4 (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(RESOURCEEDITOR_LIBRARY)
#  define RESOURCE_EXPORT Q_DECL_EXPORT
#elif defined(RESOURCEEDITOR_STATIC_LIBRARY)
#  define RESOURCE_EXPORT
#else
#  define RESOURCE_EXPORT Q_DECL_IMPORT
#endif