forked from qt-creator/qt-creator
Fix crash also in master.
This commit is contained in:
@@ -1375,6 +1375,8 @@ QString QtVersion::buildDebuggingHelperLibrary()
|
||||
// TODO: the debugging helper doesn't comply to actual tool chain yet
|
||||
QList<QSharedPointer<ProjectExplorer::ToolChain> > alltc = toolChains();
|
||||
ProjectExplorer::ToolChain *tc = alltc.isEmpty() ? 0 : alltc.first().data();
|
||||
if (!tc)
|
||||
return QApplication::tr("The Qt Version has no toolchain.");)
|
||||
tc->addToEnvironment(env);
|
||||
QString output;
|
||||
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, &output);
|
||||
|
||||
Reference in New Issue
Block a user