aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlcompilerglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qtqmlcompilerglobal.h')
-rw-r--r--src/qml/qtqmlcompilerglobal.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/qml/qtqmlcompilerglobal.h b/src/qml/qtqmlcompilerglobal.h
new file mode 100644
index 0000000000..d175e820c4
--- /dev/null
+++ b/src/qml/qtqmlcompilerglobal.h
@@ -0,0 +1,22 @@
+// Copyright (C) 2019 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 QTQMLCOMPILERGLOBAL_H
+#define QTQMLCOMPILERGLOBAL_H
+
+#include <QtCore/qglobal.h>
+
+QT_BEGIN_NAMESPACE
+
+#if defined(QT_STATIC)
+# define Q_QML_COMPILER_EXPORT
+#else
+# if defined(QT_BUILD_QML_LIB)
+# define Q_QML_COMPILER_EXPORT Q_DECL_EXPORT
+# else
+# define Q_QML_COMPILER_EXPORT Q_DECL_IMPORT
+# endif
+#endif
+
+QT_END_NAMESPACE
+#endif // QTQMLCOMPILERGLOBAL_H