From 6932c6ca230ee3805ef9a022812bc3de19ddc8f4 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 14 Apr 2023 16:27:13 +0200 Subject: [PATCH] Qnx: Fix Abi detection for remote toolchains We were suddenly ending up looking into the local file system. Change-Id: I4911206e6d29f10a9dfaa9bc97307b28e383c14c Reviewed-by: Christian Kandeler --- src/plugins/qnx/qnxtoolchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qnx/qnxtoolchain.cpp b/src/plugins/qnx/qnxtoolchain.cpp index 773efc0c740..187c507da49 100644 --- a/src/plugins/qnx/qnxtoolchain.cpp +++ b/src/plugins/qnx/qnxtoolchain.cpp @@ -54,7 +54,7 @@ static Abis detectTargetAbis(const FilePath &sdpPath) const EnvironmentItems environment = QnxUtils::qnxEnvironment(sdpPath); for (const EnvironmentItem &item : environment) { if (item.name == QLatin1String("QNX_TARGET")) - qnxTarget = FilePath::fromString(item.value); + qnxTarget = sdpPath.withNewPath(item.value); } }