From 2e8bf5ed7929f6e8440fa2523bdc466aa188d00f Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Sun, 23 Sep 2012 10:48:21 +0200 Subject: Add missing QT_{BEGIN,END}_{NAMESPACE,HEADER} Change-Id: I5f61a443b49d40c66669fa0c679df7eaab761e73 Reviewed-by: Thiago Macieira --- src/qml/qtqmlglobal.h | 6 ++++++ src/qmltest/quicktestglobal.h | 2 ++ 2 files changed, 8 insertions(+) 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 +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 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 -- cgit v1.2.3