diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2012-09-23 10:48:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-23 15:44:30 +0200 |
commit | 2e8bf5ed7929f6e8440fa2523bdc466aa188d00f (patch) | |
tree | 19c954baa25a8eb70005cba8c5eea359df305049 | |
parent | 46010aa7a232645eff0023d5fb26dcbe1b9ab08a (diff) |
Add missing QT_{BEGIN,END}_{NAMESPACE,HEADER}
Change-Id: I5f61a443b49d40c66669fa0c679df7eaab761e73
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/qml/qtqmlglobal.h | 6 | ||||
-rw-r--r-- | src/qmltest/quicktestglobal.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/qml/qtqmlglobal.h b/src/qml/qtqmlglobal.h index c3cdbceefd..3ad8a5df15 100644 --- a/src/qml/qtqmlglobal.h +++ b/src/qml/qtqmlglobal.h @@ -44,6 +44,9 @@ #include <QtCore/qglobal.h> +QT_BEGIN_HEADER +QT_BEGIN_NAMESPACE + #ifndef QT_STATIC # if defined(QT_BUILD_QML_LIB) # define Q_QML_EXPORT Q_DECL_EXPORT @@ -54,4 +57,7 @@ # define Q_QML_EXPORT #endif +QT_END_NAMESPACE +QT_END_HEADER + #endif // QTQMLGLOBAL_H diff --git a/src/qmltest/quicktestglobal.h b/src/qmltest/quicktestglobal.h index 6d6bea17ee..9943156705 100644 --- a/src/qmltest/quicktestglobal.h +++ b/src/qmltest/quicktestglobal.h @@ -45,6 +45,7 @@ #include <QtCore/qglobal.h> QT_BEGIN_HEADER +QT_BEGIN_NAMESPACE #ifndef QT_STATIC # if defined(QT_BUILD_QMLTEST_LIB) @@ -56,6 +57,7 @@ QT_BEGIN_HEADER # define Q_QUICK_TEST_EXPORT #endif +QT_END_NAMESPACE QT_END_HEADER #endif |