Add QT_{BEGIN,END}_{NAMESPACE,HEADER} to qtquickglobal.h
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 22 Sep 2012 11:47:55 +0000 (13:47 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Sep 2012 11:57:28 +0000 (13:57 +0200)
Unit test is testing for it

Change-Id: Ie37a0f7103dbe8c19a4cfbca2d4fe026c805ba0b
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
src/quick/qtquickglobal.h

index ad85b2e..86cdd7e 100644 (file)
@@ -44,6 +44,9 @@
 
 #include <QtCore/qglobal.h>
 
+QT_BEGIN_HEADER
+QT_BEGIN_NAMESPACE
+
 #ifndef QT_STATIC
 #  if defined(QT_BUILD_QUICK_LIB)
 #    define Q_QUICK_EXPORT Q_DECL_EXPORT
@@ -54,4 +57,7 @@
 #  define Q_QUICK_EXPORT
 #endif
 
+QT_END_NAMESPACE
+QT_END_HEADER
+
 #endif // QTQUICKGLOBAL_H