aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-16 13:45:45 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-16 13:23:11 +0000
commit6e1d9f9b96bf14213e74779f7611bad304b20ecd (patch)
treeee0ccc7149374358f28f8fbfa97a4ccc06df6cdb /src/qml/debugger
parenta4420af04a9ace7fff9bb14d3cfd1511c6b641b8 (diff)
QmlDebug: Don't duplicate Qt namespace when importing debug plugins
Q_IMPORT_PLUGIN already adds the Qt namespace to the symbols. Task-number: QTBUG-48415 Change-Id: I25b4ffdcddd0bdd52bfd390964b9c1a333a79b30 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger')
-rw-r--r--src/qml/debugger/qqmldebugpluginmanager_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/debugger/qqmldebugpluginmanager_p.h b/src/qml/debugger/qqmldebugpluginmanager_p.h
index f8fa94f318..6fffa67d7b 100644
--- a/src/qml/debugger/qqmldebugpluginmanager_p.h
+++ b/src/qml/debugger/qqmldebugpluginmanager_p.h
@@ -70,7 +70,9 @@ QT_BEGIN_NAMESPACE
#ifdef QT_STATIC
#define Q_QML_IMPORT_DEBUG_PLUGIN(className)\
- Q_IMPORT_PLUGIN(className)
+ QT_END_NAMESPACE\
+ Q_IMPORT_PLUGIN(className)\
+ QT_BEGIN_NAMESPACE
#else
#define Q_QML_IMPORT_DEBUG_PLUGIN(className)
#endif // QT_STATIC