qt5base-lts/tests/auto/corelib
Joerg Bornemann b5234817f1 Introduce QProcess::startCommand(QString, OpenMode)
The removal of the QProcess::start(QString, OpenMode) leads to more
porting work than anticipated. A call like

    QProcess p;
    p.start(cmdline);

must be transformed in the following cumbersome way:

    QProcess p;
    QStringList args = QProcess::splitCommand(cmdline);
    QString program = args.takeFirst();
    p.start(program, args);

This patch revives QProcess::start(QString, OpenMode) and renames it to
QProcess::startCommand. This is still source-incompatible, but the
transformation is much simpler:

    QProcess p;
    p.startCommand(cmdline);

[ChangeLog][QtCore][QProcess] Added QProcess::startCommand(QString,
OpenMode) as replacement for the removed QProcess::start(QString,
OpenMode).

Change-Id: I5499bbb39a025e115042c43a4cc63affddae585c
Reviewed-by: hjk <hjk@qt.io>
2020-09-10 18:05:28 +02:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-09-03 18:43:22 +02:00
global Round float->qfloat16 to even 2020-09-06 12:35:12 +02:00
io Introduce QProcess::startCommand(QString, OpenMode) 2020-09-10 18:05:28 +02:00
itemmodels Long live QAIM::multiData! 2020-09-02 22:51:42 +02:00
kernel Fix flaky QTimer::remainingTime() test 2020-09-10 02:49:59 +02:00
mimetypes Fix warnings about unused expression results in tests 2020-07-29 14:33:29 +02:00
plugin Make QUUid constructors from string like types explicit 2020-08-27 18:58:21 +02:00
serialization Change QByteArray to handle large arrays 2020-08-27 18:58:20 +02:00
text Remove '\0' space reservation logic in QString 2020-09-10 17:31:23 +02:00
thread Get rid of hasPendingEvents() and flush() 2020-09-06 00:17:12 +02:00
time Adapt QDate unit tests to not take into account system locale 2020-09-10 17:29:38 +02:00
tools Fix possible corner cases in qarraydataops.h 2020-09-10 14:21:47 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00