Commit 4c94a3ca authored by Thiago Macieira's avatar Thiago Macieira Committed by The Qt Project
Browse files

Fix export macros for the QML parser export.


These classes are in the QtQml library. They shouldn't be defined to
export (even if it's autotest export) when compiling other libraries,
notably QtQuick.

Change-Id: Id76d2b2f2c60355240edabb7875db3e97fb0da17
Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
parent f12d7eb1
No related merge requests found
Showing with 3 additions and 1 deletion
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment