Commit 4e176cb1 authored by hjk's avatar hjk Committed by Eike Ziller
Browse files

Debugger: Abort gdb session if no python support is found

The message will be untranslated due to the string freeze,
but better than nothing.

Task-number: QTCREATORBUG-11505

Change-Id: I6f5e65615e4c20f42ce6800b8107f923c2ae2c4f
Reviewed-by: default avatarEike Ziller <>
parent 73577b33
......@@ -1763,6 +1763,13 @@ void GdbEngine::handlePythonSetup(const GdbResponse &response)
} else {
QByteArray msg =["msg"].data();
if (msg.contains("Python scripting is not supported in this copy of GDB.")) {
QString out1 = _("The selected build of GDB does not support Python scripting.");
QString out2 = _("It cannot be used in Qt Creator.");
showStatusMessage(out1 + QLatin1Char(' ') + out2);
showMessageBox(QMessageBox::Critical, tr("Execution Error"), out1 + _("<br>") + out2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment