QmlJS: fix building tests

amends d68bb4687c

Change-Id: I7fc5b260a7748829038b8494e75e4cfc5a56945b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-10-27 10:37:38 +02:00
parent b67482480e
commit d849643cb0

View File

@@ -267,7 +267,7 @@ void tst_ImportCheck::importTypes()
// the default qtQmlPath is based on the Qt version in use otherwise // the default qtQmlPath is based on the Qt version in use otherwise
ModelManagerInterface::ProjectInfo defaultProject; ModelManagerInterface::ProjectInfo defaultProject;
defaultProject.qtQmlPath = importPath; defaultProject.qtQmlPath = Utils::FilePath::fromString(importPath);
modelManager->setDefaultProject(defaultProject, nullptr); modelManager->setDefaultProject(defaultProject, nullptr);
modelManager->activateScan(); modelManager->activateScan();