From d849643cb0d51fdc0e701ab55bceb7c140a49783 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 27 Oct 2021 10:37:38 +0200 Subject: [PATCH] QmlJS: fix building tests amends d68bb4687c4cce9087ff627b1257edc7cd440aba Change-Id: I7fc5b260a7748829038b8494e75e4cfc5a56945b Reviewed-by: Christian Stenger --- tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp b/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp index 0dc78ecd759..04660c7a9c7 100644 --- a/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp +++ b/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp @@ -267,7 +267,7 @@ void tst_ImportCheck::importTypes() // the default qtQmlPath is based on the Qt version in use otherwise ModelManagerInterface::ProjectInfo defaultProject; - defaultProject.qtQmlPath = importPath; + defaultProject.qtQmlPath = Utils::FilePath::fromString(importPath); modelManager->setDefaultProject(defaultProject, nullptr); modelManager->activateScan();