diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-02-07 14:12:57 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-02-13 19:57:47 +0100 |
commit | 92eea633491ce8138c5caceb904ad26c1eb91044 (patch) | |
tree | e102cf2d21bd9a8f730d440f6b6e8fd0a1fa7cb5 /tests/libfuzzer/gui/text/qtextdocument/setHtml/setHtml.pro | |
parent | adfd0914e3fe9a15f818b0979936d5f0ff545f32 (diff) |
Obsolete command-string parsing QProcess::start/execute overloads
The command string parsing covers only simple quoting
patterns, while users tend to expect something that is in line with
their shell.
The overloads that take a QStringList are the recommended APIs to use
anyway, so exposing the splitting method as a static function for
which we document the exact behavior allows callers to post-process
the QStringList, before calling the preferred overloads.
[ChangeLog][QtCore][QProcess] Overloads of start/execute/startDatached
that parse a single command string into program and arguments have
been marked as deprecated. A static helper splitCommand has
been added to construct a QStringList from a command string.
Change-Id: Ie91fcfb5eae6a52e5065efc60d2d9e068d20869d
Fixes: QTBUG-80640
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'tests/libfuzzer/gui/text/qtextdocument/setHtml/setHtml.pro')
0 files changed, 0 insertions, 0 deletions