aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-12-13 17:53:23 +0100
committerhjk <hjk@qt.io>2021-12-14 07:46:22 +0000
commit7ae4e1f7fab2076cffa17421891d25f5e1cd784b (patch)
treeac25d236013955f0718abb7a0dec5feb04e36fc9
parent6ecd4e76b4d9354984744203be8fb9c0e99a6cfc (diff)
Boot2Qt: Fix start of flashing wizard on Windows
Amends e3d87f9d0f4. Change-Id: Ib6f2548497159a1a0dae90e3d351409e942013fb Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/plugins/boot2qt/qdbplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/boot2qt/qdbplugin.cpp b/src/plugins/boot2qt/qdbplugin.cpp
index 95ccb37de8..875bd874a7 100644
--- a/src/plugins/boot2qt/qdbplugin.cpp
+++ b/src/plugins/boot2qt/qdbplugin.cpp
@@ -72,7 +72,7 @@ static void startFlashingWizard()
{
const FilePath filePath = flashWizardFilePath();
if (HostOsInfo::isWindowsHost()) {
- if (QtcProcess::startDetached({"explorer.exe", {filePath.toString()}}))
+ if (QtcProcess::startDetached({"explorer.exe", {filePath.toUserOutput()}}))
return;
} else if (QtcProcess::startDetached({filePath, {}})) {
return;