summaryrefslogtreecommitdiffstats
path: root/src/uitools/qtuitoolsglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uitools/qtuitoolsglobal.h')
-rw-r--r--src/uitools/qtuitoolsglobal.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/uitools/qtuitoolsglobal.h b/src/uitools/qtuitoolsglobal.h
new file mode 100644
index 000000000..a2f967dee
--- /dev/null
+++ b/src/uitools/qtuitoolsglobal.h
@@ -0,0 +1,24 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#ifndef QTUITOOLSGLOBAL_H
+#define QTUITOOLSGLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+QT_BEGIN_NAMESPACE
+
+#ifndef QT_STATIC
+# if defined(QT_BUILD_UITOOLS_LIB)
+# define Q_UITOOLS_EXPORT Q_DECL_EXPORT
+# else
+# define Q_UITOOLS_EXPORT Q_DECL_IMPORT
+# endif
+#else
+# define Q_UITOOLS_EXPORT
+#endif
+
+QT_END_NAMESPACE
+
+#endif // QTUITOOLSGLOBAL_H
+