Commit 8b2c1501 authored by dt's avatar dt
Browse files

Fix crash with no toolchain and clicking on build debugging helper

parent b47d41c2
......@@ -1370,7 +1370,10 @@ QString QtVersion::buildDebuggingHelperLibrary()
// TODO: the debugging helper doesn't comply to actual tool chain yet
ProjectExplorer::ToolChain *tc = createToolChain(defaultToolchainType());
if (!tc)
return QApplication::tr("The Qt Version has no toolchain.");
QString output;
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, &output);
Supports Markdown
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