diff options
Diffstat (limited to 'src/qml/qtqmlglobal.h')
-rw-r--r-- | src/qml/qtqmlglobal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h index 89228b7777..6704e55b52 100644 --- a/src/qml/qtqmlglobal.h +++ b/src/qml/qtqmlglobal.h @@ -48,7 +48,11 @@ QT_BEGIN_NAMESPACE -#ifndef QT_STATIC +#if defined(QT_BUILD_QMLDEVTOOLS_LIB) || defined(QT_QMLDEVTOOLS_LIB) +# define QT_QML_BOOTSTRAPPED +#endif + +#if !defined(QT_QML_BOOTSTRAPPED) && !defined(QT_STATIC) # if defined(QT_BUILD_QML_LIB) # define Q_QML_EXPORT Q_DECL_EXPORT # else |