diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6a90228c4c4..70bed1ce2cf 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2774,10 +2774,12 @@ void DebuggerPluginPrivate::extensionsInitialized() cmd->setAttribute(Command::CA_Hide); mstart->addAction(cmd, CC::G_DEFAULT_ONE); +#ifdef WITH_LLDB cmd = am->registerAction(m_startRemoteLldbAction, Constants::STARTREMOTELLDB, globalcontext); cmd->setAttribute(Command::CA_Hide); mstart->addAction(cmd, CC::G_DEFAULT_ONE); +#endif if (m_startRemoteCdbAction) { cmd = am->registerAction(m_startRemoteCdbAction,