forked from qt-creator/qt-creator
QmlJS: fix building tests
amends d68bb4687c
Change-Id: I7fc5b260a7748829038b8494e75e4cfc5a56945b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user