qt6-bb10/tests/auto
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
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent QtConcurrent: Introduce runWithPromise() 2020-08-19 12:46:10 +02:00
corelib Introduce QProcess::startCommand(QString, OpenMode) 2020-09-10 18:05:28 +02:00
dbus Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
gui Port from devicePixelRatioF() to devicePixelRatio() 2020-09-10 17:28:11 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Fix a rather sloppy test case in tst_QSslKey 2020-09-10 17:32:09 +02:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Port from devicePixelRatioF() to devicePixelRatio() 2020-09-10 17:28:11 +02:00
printsupport Remove obsolete APIs and comments from QAbstractPrintDialog 2020-09-10 17:29:52 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Interbase: Correctly read/write arrays to the database 2020-09-08 08:02:14 +02:00
testlib Get rid of hasPendingEvents() and flush() 2020-09-06 00:17:12 +02:00
tools tst_qdbuscpp2xml: stop doing math on enumerations 2020-09-05 17:12:50 +02:00
widgets Port from devicePixelRatioF() to devicePixelRatio() 2020-09-10 17:28:11 +02:00
xml Disable deprecation warnings in some tests 2020-07-29 14:33:23 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
CMakeLists.txt CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
auto.pro CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00