summaryrefslogtreecommitdiff
path: root/src/libs/utils/fileutils.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-05 12:53:22 +0200
committerhjk <hjk@qt.io>2019-06-06 08:42:06 +0000
commit772b48797d308ce5833358abe1ea8b938c353a95 (patch)
treef95c5724a03d4abc524911772d3011f20d07b063 /src/libs/utils/fileutils.h
parent046ab0b7a3485dfb005639403e4c3120b7b3fc0e (diff)
downloadqt-creator-772b48797d308ce5833358abe1ea8b938c353a95.tar.gz
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>
Diffstat (limited to 'src/libs/utils/fileutils.h')
-rw-r--r--src/libs/utils/fileutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/fileutils.h b/src/libs/utils/fileutils.h
index ec018b9c3b..8193ae915f 100644
--- a/src/libs/utils/fileutils.h
+++ b/src/libs/utils/fileutils.h
@@ -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;