forked from qt-creator/qt-creator
Debugger: Improve the helper build mechanism on the settings page.
- Give the controls a tooltip listing file details (date) - Make building a QtConcurrent task - Make log window scroll to bottom and pop up on error - Make the build code pass on error messages about copying the source files to the log file - Clean up the building code string-wise, use QLatin1String and translate messages, cache the icons
This commit is contained in:
@@ -1266,8 +1266,10 @@ QString QtVersion::buildDebuggingHelperLibrary()
|
||||
// TODO: the debugging helper doesn't comply to actual tool chain yet
|
||||
ProjectExplorer::ToolChain *tc = createToolChain(defaultToolchainType());
|
||||
tc->addToEnvironment(env);
|
||||
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, path());
|
||||
QString output = DebuggingHelperLibrary::buildDebuggingHelperLibrary(directory, tc->makeCommand(), qmakeCommand(), mkspec(), env);
|
||||
QString output;
|
||||
QString directory = DebuggingHelperLibrary::copyDebuggingHelperLibrary(qtInstallData, path(), &output);
|
||||
if (!directory.isEmpty())
|
||||
output += DebuggingHelperLibrary::buildDebuggingHelperLibrary(directory, tc->makeCommand(), qmakeCommand(), mkspec(), env);
|
||||
m_hasDebuggingHelper = !debuggingHelperLibrary().isEmpty();
|
||||
delete tc;
|
||||
return output;
|
||||
|
Reference in New Issue
Block a user