forked from qt-creator/qt-creator
Improve Qml code model import handling.
* Fill the snapshot with files that could be imported. * Implement package imports. * The qmldir file is not parsed yet. Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -170,11 +170,11 @@ public:
|
||||
} // end of anonymous namespace
|
||||
|
||||
|
||||
Check::Check(Document::Ptr doc, const Snapshot &snapshot)
|
||||
Check::Check(Document::Ptr doc, const Snapshot &snapshot, const QStringList &importPaths)
|
||||
: _doc(doc)
|
||||
, _snapshot(snapshot)
|
||||
, _context(&_engine)
|
||||
, _link(&_context, doc, snapshot)
|
||||
, _link(&_context, snapshot, importPaths)
|
||||
, _scopeBuilder(doc, &_context)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user