aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmldebugpluginmanager_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-05-09 17:14:08 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-05-09 15:20:16 +0000
commit2b9693bfa5241c96a0b20861d9700fc5e0b826df (patch)
treed768ff438ef780f5c38b42e0742cfb038ca12e2c /src/qml/debugger/qqmldebugpluginmanager_p.h
parent6f59c91c51edd7207635c3fa2f0b2b1179e7aa6e (diff)
QmlDebug: Drop explicit Q_IMPORT_PLUGIN statements
qmake is clever enough to include the plugins without this. Furthermore, the explicit imports duplicate the plugins in static builds and they lead to cross linking from QtQml to QtQuick. Task-number: QTBUG-50306 Change-Id: I822e000481f583f513b863f54f65eb8ff772c0c3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmldebugpluginmanager_p.h')
-rw-r--r--src/qml/debugger/qqmldebugpluginmanager_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qml/debugger/qqmldebugpluginmanager_p.h b/src/qml/debugger/qqmldebugpluginmanager_p.h
index 6fffa67d7b..a5f5157793 100644
--- a/src/qml/debugger/qqmldebugpluginmanager_p.h
+++ b/src/qml/debugger/qqmldebugpluginmanager_p.h
@@ -68,15 +68,6 @@ QT_BEGIN_NAMESPACE
#else // QT_NO_QML_DEBUGGER
-#ifdef QT_STATIC
-#define Q_QML_IMPORT_DEBUG_PLUGIN(className)\
- QT_END_NAMESPACE\
- Q_IMPORT_PLUGIN(className)\
- QT_BEGIN_NAMESPACE
-#else
-#define Q_QML_IMPORT_DEBUG_PLUGIN(className)
-#endif // QT_STATIC
-
#define Q_QML_DEBUG_PLUGIN_LOADER(interfaceName)\
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, interfaceName##Loader,\
(interfaceName##Factory_iid, QLatin1String("/qmltooling")))\