aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/qtqmlglobal.h6
-rw-r--r--src/qmltest/quicktestglobal.h2
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