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:
@@ -21,7 +21,7 @@ FilePath TestOutputReader::constructSourceFilePath(const FilePath &path, const Q
|
||||
return filePath.isReadableFile() ? filePath : FilePath();
|
||||
}
|
||||
|
||||
TestOutputReader::TestOutputReader(QtcProcess *testApplication, const FilePath &buildDirectory)
|
||||
TestOutputReader::TestOutputReader(Process *testApplication, const FilePath &buildDirectory)
|
||||
: m_buildDir(buildDirectory)
|
||||
{
|
||||
auto chopLineBreak = [](QByteArray line) {
|
||||
@@ -33,7 +33,7 @@ TestOutputReader::TestOutputReader(QtcProcess *testApplication, const FilePath &
|
||||
};
|
||||
|
||||
if (testApplication) {
|
||||
connect(testApplication, &QtcProcess::started, this, [this, testApplication] {
|
||||
connect(testApplication, &Process::started, this, [this, testApplication] {
|
||||
m_id = testApplication->commandLine().executable().toUserOutput();
|
||||
});
|
||||
testApplication->setStdOutLineCallback([this, &chopLineBreak](const QString &line) {
|
||||
|
||||
Reference in New Issue
Block a user