Extending Qt Creator Manual | Link

Extending Qt Creator Manual 4.7.2

# Link Class

(QmlJS::Link)

The Link class creates a Context for a Snapshot. More...

Header: | #include <Link>

## Detailed Description

The Link class creates a Context for a Snapshot.

Initializes a context by resolving imports. This is an expensive operation.

Instead of making a fresh context, consider reusing the one maintained in the QmlJSEditor::SemanticInfo of a QmlJSEditor::QmlJSEditorDocument.

See also Context and Snapshot.