aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2021-10-27 10:37:38 +0200
committerDavid Schulz <david.schulz@qt.io>2021-10-27 08:46:04 +0000
commitd849643cb0d51fdc0e701ab55bceb7c140a49783 (patch)
treed642727072ce1985619f4d639f301a693bf8595f
parentb67482480e36f8bd219252b33f548709d3607776 (diff)
QmlJS: fix building tests
amends d68bb4687c4cce9087ff627b1257edc7cd440aba Change-Id: I7fc5b260a7748829038b8494e75e4cfc5a56945b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp b/tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp
index 0dc78ecd75..04660c7a9c 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();