Debugger: Compile manual test with Qt 6

Task-number: 24098
Change-Id: I9fdaf913a0ed2017460ba8d4f63c94a1d62b0062
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-08-25 14:48:25 +02:00
parent 17d8f18d46
commit b5e2485fbf

View File

@@ -4176,7 +4176,7 @@ namespace qprocess {
const int N = 14;
QProcess proc[N];
for (int i = 0; i != N; ++i) {
proc[i].start("sleep 10");
proc[i].start("sleep", {"10"});
proc[i].waitForStarted();
}
BREAK_HERE;
@@ -5557,7 +5557,7 @@ namespace basic {
void testFork()
{
QProcess proc;
proc.start("/bin/ls");
proc.start("/bin/ls", QStringList());
proc.waitForFinished();
QByteArray ba = proc.readAllStandardError();
ba.append('x');