PerfProfiler: Fix construction of arguments

Change-Id: I683ee5a9a23a222fc80f1972c64262c5d91228e9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Christian Stenger
2024-06-18 12:49:10 +02:00
parent 51c9611268
commit 1aa4b401f1

View File

@@ -287,7 +287,7 @@ void PerfDataReader::collectArguments(CommandLine *cmd, const QString &exe, cons
.arg(qt->pluginPath().nativePath())
.arg(qt->hostBinPath().nativePath())
.arg(qt->qmlPath().nativePath())
.arg(cmd->executable().osType() == OsTypeWindows ? u';' : u':'));
.arg(cmd->executable().pathListSeparator()));
}
if (auto toolChain = ToolchainKitAspect::cxxToolchain(kit)) {