diff --git a/src/plugins/debugger/debuggerrunner.h b/src/plugins/debugger/debuggerrunner.h
index 660c5474ef9701c058903302afa94ef1ab2cef65..71121553489a5d91e45c66edbd76a5dafd87aa72 100644
--- a/src/plugins/debugger/debuggerrunner.h
+++ b/src/plugins/debugger/debuggerrunner.h
@@ -47,11 +47,9 @@ class DebuggerRunControl;
 class DebuggerRunControlPrivate;
 class DebuggerStartParameters;
 
-class DEBUGGER_EXPORT DebuggerRunControlFactory
+class DebuggerRunControlFactory
     : public ProjectExplorer::IRunControlFactory
 {
-    Q_OBJECT
-
 public:
     DebuggerRunControlFactory(QObject *parent, unsigned enabledEngines);