forked from qt-creator/qt-creator
ProjectExplorer: Use Utils::CommandLine in ProjectExplorer::Runnable
Change-Id: Id965f1f9047dcbc3ea5c9ddaa550d12668cf8ae6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -252,10 +252,10 @@ void ClangToolRunWorker::start()
|
||||
|
||||
// Collect files
|
||||
const auto clangIncludeDirAndVersion =
|
||||
getClangIncludeDirAndVersion(runControl()->runnable().executable);
|
||||
getClangIncludeDirAndVersion(runControl()->runnable().command.executable());
|
||||
const AnalyzeUnits unitsToProcess = unitsToAnalyze(clangIncludeDirAndVersion.first,
|
||||
clangIncludeDirAndVersion.second);
|
||||
qCDebug(LOG) << Q_FUNC_INFO << runControl()->runnable().executable
|
||||
qCDebug(LOG) << Q_FUNC_INFO << runControl()->runnable().command.executable()
|
||||
<< clangIncludeDirAndVersion.first << clangIncludeDirAndVersion.second;
|
||||
qCDebug(LOG) << "Files to process:" << unitsToProcess;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user