![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmljstyperesolver_p.h>
Public Attributes | |
| std::shared_ptr< QQmlJSImporter > | importer |
| std::shared_ptr< QQmlJSResourceFileMapper > | mapper |
| std::shared_ptr< QQmlJSLogger > | logger |
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. QQmlJSTypeResolver also expects to be outlived by the logger used by the importvisitor, while the importvisitor actually does not and will not outlive the QQmlJSTypeResolver.
Definition at line 382 of file qqmljstyperesolver_p.h.
| std::shared_ptr<QQmlJSImporter> QQmlJSTypeResolverDependencies::importer |
Definition at line 384 of file qqmljstyperesolver_p.h.
| std::shared_ptr<QQmlJSLogger> QQmlJSTypeResolverDependencies::logger |
Definition at line 386 of file qqmljstyperesolver_p.h.
| std::shared_ptr<QQmlJSResourceFileMapper> QQmlJSTypeResolverDependencies::mapper |
Definition at line 385 of file qqmljstyperesolver_p.h.