forked from qt-creator/qt-creator
QmlDesigner: Fix project build
The code has to be fixed in the future. But I am unsure if it even needed for the project storage. Change-Id: Iabff94678df56b3c2ac58959e5dead0fea92e86e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -620,7 +620,12 @@ QSet<AssetPath> BundleHelper::getComponentDependencies(const Utils::FilePath &fi
|
||||
|
||||
depList.insert({mainCompDir, filePath.relativePathFrom(mainCompDir).toFSPathString()});
|
||||
|
||||
#ifdef QDS_USE_PROJECTSTORAGE
|
||||
// TODO add model with ProjectStorageDependencies
|
||||
ModelPointer model;
|
||||
#else
|
||||
ModelPointer model = Model::create("Item");
|
||||
#endif
|
||||
Utils::FileReader reader;
|
||||
QTC_ASSERT(reader.fetch(filePath), return {});
|
||||
|
||||
|
Reference in New Issue
Block a user