Skip to content
Snippets Groups Projects
Commit 8b2c1501 authored by dt's avatar dt
Browse files

Fix crash with no toolchain and clicking on build debugging helper

parent b47d41c2
No related branches found
No related tags found
No related merge requests found
......@@ -1370,7 +1370,10 @@ QString QtVersion::buildDebuggingHelperLibrary()
addToEnvironment(env);
// 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.");
tc->addToEnvironment(env);
QString output;
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, &output);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment