aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-29 14:58:33 +0100
committerhjk <hjk@qt.io>2022-11-29 17:03:12 +0000
commitb183efc94ac0e5df2bc1c9892eedde5e499c415e (patch)
tree5c8f4f0d0bf39358bc504c154244db848cbddaad
parent3d158d73ca64c14cd84f29a57e996d3d5ae23ced (diff)
ProjectExplorer: Append paths, not strings
For qbs. Change-Id: Ifc183794baf16d51a0e6ed1c52da797b037c69c2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rw-r--r--src/plugins/projectexplorer/desktoprunconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/desktoprunconfiguration.cpp b/src/plugins/projectexplorer/desktoprunconfiguration.cpp
index b984dfea18..e39157094d 100644
--- a/src/plugins/projectexplorer/desktoprunconfiguration.cpp
+++ b/src/plugins/projectexplorer/desktoprunconfiguration.cpp
@@ -139,7 +139,7 @@ FilePath DesktopRunConfiguration::executableToRun(const BuildTargetInfo &targetI
if (deployedAppFilePath.isEmpty())
return appInBuildDir;
- const FilePath appInLocalInstallDir = deploymentData.localInstallRoot() + deployedAppFilePath;
+ const FilePath appInLocalInstallDir = deploymentData.localInstallRoot() / deployedAppFilePath;
return appInLocalInstallDir.exists() ? appInLocalInstallDir : appInBuildDir;
}