diff options
author | hjk <hjk@qt.io> | 2019-06-06 16:27:55 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-06-11 08:11:07 +0000 |
commit | ca4ba34229c247027074c25abf51bf02ff15af96 (patch) | |
tree | f5f93acda470948ec0f07b1dbfe5a58333bcb8bb /tests/manual/process | |
parent | 021d3a6c59264e4aac0284628b8d2daadbad4ed7 (diff) | |
download | qt-creator-ca4ba34229c247027074c25abf51bf02ff15af96.tar.gz |
Use Utils::FilePath in SynchronousProcess
Adapt callers and surrounding code.
Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests/manual/process')
-rw-r--r-- | tests/manual/process/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/process/mainwindow.cpp b/tests/manual/process/mainwindow.cpp index 7a99e8a872..85a7b2ef9f 100644 --- a/tests/manual/process/mainwindow.cpp +++ b/tests/manual/process/mainwindow.cpp @@ -25,6 +25,7 @@ #include "mainwindow.h" +#include <utils/fileutils.h> #include <utils/synchronousprocess.h> #include <QPlainTextEdit> @@ -56,6 +57,6 @@ void MainWindow::test() qDebug() << "Async: " << cmd << args; connect(&process, &Utils::SynchronousProcess::stdOutBuffered, this, &MainWindow::append); connect(&process, &Utils::SynchronousProcess::stdErrBuffered, this, &MainWindow::append); - const Utils::SynchronousProcessResponse resp = process.run(cmd, args); + const Utils::SynchronousProcessResponse resp = process.run({Utils::FilePath::fromString(cmd), args}); qDebug() << resp; } |