Add missing QT_{BEGIN,END}_{NAMESPACE,HEADER}
authorSergio Ahumada <sergio.ahumada@digia.com>
Sun, 23 Sep 2012 08:48:21 +0000 (10:48 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 23 Sep 2012 13:44:30 +0000 (15:44 +0200)
Change-Id: I5f61a443b49d40c66669fa0c679df7eaab761e73
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/qml/qtqmlglobal.h
src/qmltest/quicktestglobal.h

index c3cdbce..3ad8a5d 100644 (file)
@@ -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
index 6d6bea1..9943156 100644 (file)
@@ -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