Utils: Add a CommandLine::splitArguments() convenience function

... and use it from within new SynchronousProcess functions
taking CommandLine arguments.

Change-Id: I5d7f83727cbb22f03b1a79b1645db95514c66033
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-06-05 12:53:22 +02:00
parent 046ab0b7a3
commit 772b48797d
4 changed files with 42 additions and 12 deletions

View File

@@ -145,6 +145,7 @@ public:
FilePath executable() const { return m_executable; }
QString arguments() const { return m_arguments; }
QStringList splitArguments(OsType osType = HostOsInfo::hostOs()) const;
private:
FilePath m_executable;