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:
@@ -88,7 +88,7 @@ bool RsyncDeployStep::isDeploymentNecessary() const
|
||||
|
||||
TaskItem RsyncDeployStep::mkdirTask()
|
||||
{
|
||||
const auto setupHandler = [this](QtcProcess &process) {
|
||||
const auto setupHandler = [this](Process &process) {
|
||||
QStringList remoteDirs;
|
||||
for (const FileToTransfer &file : std::as_const(m_files))
|
||||
remoteDirs << file.m_target.parentDir().path();
|
||||
@@ -96,11 +96,11 @@ TaskItem RsyncDeployStep::mkdirTask()
|
||||
remoteDirs.removeDuplicates();
|
||||
process.setCommand({deviceConfiguration()->filePath("mkdir"),
|
||||
QStringList("-p") + remoteDirs});
|
||||
connect(&process, &QtcProcess::readyReadStandardError, this, [this, proc = &process] {
|
||||
connect(&process, &Process::readyReadStandardError, this, [this, proc = &process] {
|
||||
handleStdErrData(QString::fromLocal8Bit(proc->readAllRawStandardError()));
|
||||
});
|
||||
};
|
||||
const auto errorHandler = [this](const QtcProcess &process) {
|
||||
const auto errorHandler = [this](const Process &process) {
|
||||
QString finalMessage = process.errorString();
|
||||
const QString stdErr = process.cleanedStdErr();
|
||||
if (!stdErr.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user