forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -449,10 +449,10 @@ void CppModelManager::showPreprocessedFile(bool inNextSplit)
|
||||
compilerArgs.append("/E");
|
||||
compilerArgs.append(filePath.toUserOutput());
|
||||
const CommandLine compilerCommandLine(tc->compilerCommand(), compilerArgs);
|
||||
const auto compiler = new QtcProcess(instance());
|
||||
const auto compiler = new Process(instance());
|
||||
compiler->setCommand(compilerCommandLine);
|
||||
compiler->setEnvironment(project->activeTarget()->activeBuildConfiguration()->environment());
|
||||
connect(compiler, &QtcProcess::done, instance(), [compiler, outFilePath, inNextSplit,
|
||||
connect(compiler, &Process::done, instance(), [compiler, outFilePath, inNextSplit,
|
||||
useBuiltinPreprocessor, isMsvc] {
|
||||
compiler->deleteLater();
|
||||
if (compiler->result() != ProcessResult::FinishedWithSuccess) {
|
||||
|
Reference in New Issue
Block a user