aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/parser/qqmljsglobal_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/parser/qqmljsglobal_p.h')
-rw-r--r--src/qml/qml/parser/qqmljsglobal_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/qml/parser/qqmljsglobal_p.h b/src/qml/qml/parser/qqmljsglobal_p.h
index 3aecc863d5..c53e12ea56 100644
--- a/src/qml/qml/parser/qqmljsglobal_p.h
+++ b/src/qml/qml/parser/qqmljsglobal_p.h
@@ -61,8 +61,10 @@
# if defined(QT_BUILD_QMLDEVTOOLS_LIB) || defined(QT_QMLDEVTOOLS_LIB)
// QmlDevTools is a static library
# define QML_PARSER_EXPORT
-# else
+# elif defined(QT_BUILD_QML_LIB)
# define QML_PARSER_EXPORT Q_AUTOTEST_EXPORT
+# else
+# define QML_PARSER_EXPORT
# endif
#endif // QT_CREATOR