aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/solutions/tasking/tasking_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/solutions/tasking/tasking_global.h')
-rw-r--r--src/libs/solutions/tasking/tasking_global.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libs/solutions/tasking/tasking_global.h b/src/libs/solutions/tasking/tasking_global.h
new file mode 100644
index 0000000000..d7e76fa9e6
--- /dev/null
+++ b/src/libs/solutions/tasking/tasking_global.h
@@ -0,0 +1,14 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+#include <qglobal.h>
+
+#if defined(TASKING_LIBRARY)
+# define TASKING_EXPORT Q_DECL_EXPORT
+#elif defined(TASKING_STATIC_LIBRARY)
+# define TASKING_EXPORT
+#else
+# define TASKING_EXPORT Q_DECL_IMPORT
+#endif