Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlJSTypeResolverDependencies Struct Reference

#include <qqmljstyperesolver_p.h>

+ Collaboration diagram for QQmlJSTypeResolverDependencies:

Public Attributes

std::shared_ptr< QQmlJSImporterimporter
 
std::shared_ptr< QQmlJSResourceFileMappermapper
 

Detailed Description

QQmlJSTypeResolver expects to be outlived by its importer and mapper. It crashes when its importer or mapper gets destructed. Therefore, you can use this struct to extend the lifetime of its dependencies in case you need to store the resolver as a class member.

Definition at line 321 of file qqmljstyperesolver_p.h.

Member Data Documentation

◆ importer

std::shared_ptr<QQmlJSImporter> QQmlJSTypeResolverDependencies::importer

Definition at line 323 of file qqmljstyperesolver_p.h.

◆ mapper

std::shared_ptr<QQmlJSResourceFileMapper> QQmlJSTypeResolverDependencies::mapper

Definition at line 324 of file qqmljstyperesolver_p.h.


The documentation for this struct was generated from the following file: