diff --git a/src/plugins/mcusupport/test/unittest.cpp b/src/plugins/mcusupport/test/unittest.cpp index 3651369cb92..349fdacfc06 100644 --- a/src/plugins/mcusupport/test/unittest.cpp +++ b/src/plugins/mcusupport/test/unittest.cpp @@ -92,7 +92,7 @@ void McuSupportTest::test_addFreeRtosCmakeVarToKit() QCOMPARE(cmakeConfig.size(), 1); CMakeConfigItem expectedCmakeVar{freeRtosCmakeVar.toLocal8Bit(), - defaultfreeRtosPath.toLocal8Bit()}; + FilePath::fromString(defaultfreeRtosPath).toUserOutput().toLocal8Bit()}; QVERIFY(cmakeConfig.contains(expectedCmakeVar)); }