McuSupport: Fix tests

Note, this also changes how the CMAKE_TOOLCHAIN_FILE is stored
inside the settings.

Change-Id: I018cc44be37deef36d685eb856bb706f47274017
Reviewed-by: Piotr Mućko <piotr.mucko@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Stenger
2022-05-11 11:56:26 +02:00
parent dfe0776002
commit 8479cb1514
2 changed files with 4 additions and 4 deletions

View File

@@ -256,7 +256,7 @@ public:
const FilePath cMakeToolchainFile = mcuTarget->toolChainFilePackage()->path();
configMap.insert(Constants::TOOLCHAIN_FILE_CMAKE_VARIABLE,
cMakeToolchainFile.toUserOutput().toUtf8());
cMakeToolchainFile.toString().toUtf8());
if (!cMakeToolchainFile.exists()) {
printMessage(
McuTarget::tr(