diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-04-01 22:44:32 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-03 07:40:14 +0200 |
commit | 4c94a3ca55e82ade19ff5d4ab361d40e6252f2da (patch) | |
tree | cdb3ca4faf3913e852d22e898922606c2fee90b7 /src | |
parent | f12d7eb1d0b97a9b068ca8da9cc1bed04db9a518 (diff) |
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: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/qml/parser/qqmljsglobal_p.h | 4 |
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 |