aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-11-16 13:22:56 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-11-17 11:31:53 +0000
commit8f4532daaebf833c87e0258f86bf25457ff29fef (patch)
tree5ca879c2cb4541e08e2f4d337174775ea1c7c813 /scripts
parent3998e30684bb8f7e81c7f51be38aa77fd351ff3d (diff)
Fix warning about deprecated QProcess::startDetached()
In Qt 5.15 QProcess::startDetached(const QString &command) overload got deprecated, and in Qt 6 it has disappeared. We substiture it by setting explicitly the program and arguments on browserProc. In order to properly separate the command into program name and arguments we use Utils::QtcProcess::splitArgs(). We also handle the case when a path to file browser was not specified, and the case when starting a file browser failed and the error was empty. Task-number: QTCREATORBUG-24098 Change-Id: Ie9c9581b303407ddc5c64264576ad39ec0894bdb Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions