ExtensionSystem::PluginDependency Struct
struct ExtensionSystem::PluginDependencyPluginDependency 클래스에는 플러그인 종속성의 ID와 필요한 호환 버전 번호가 포함되어 있습니다. 더 보기...
| Header: | #include <extensionsystem/pluginspec.h> |
공개 유형
| enum | Type { Required, Optional, Test } |
공개 변수
상세 설명
이는 플러그인 메타데이터 내의 종속성 객체 데이터를 반영합니다. ID와 버전은 종속성을 확인하는 데 사용됩니다. 즉, 지정된 ID와 플러그인 compatibility version <= dependency version <= plugin version 를 가진 플러그인을 검색합니다.
플러그인 종속성 및 버전 매칭에 대한 자세한 내용은 ExtensionSystem::IPlugin 을 참조하십시오.
멤버 유형 문서
enum PluginDependency::Type
의존성이 필수인지 선택 사항인지 여부.
| 상수 | 값 | 설명 |
|---|---|---|
ExtensionSystem::PluginDependency::Required | 0 | 의존성이 반드시 있어야 합니다. |
ExtensionSystem::PluginDependency::Optional | 1 | 의존성이 반드시 필요한 것은 아닙니다. 이 의존성이 설치되지 않은 상태에서도 플러그인이 로드될 수 있도록 해야 하므로, 예를 들어 의존성의 라이브러리에 링크하지 않아야 할 수도 있습니다. |
ExtensionSystem::PluginDependency::Test | 2 | 플러그인 테스트를 실행하려면 종속성을 강제 로드해야 합니다. |
멤버 변수 문서
QString PluginDependency::id
플러그인의 문자열 식별자.
ExtensionSystem::PluginDependency::Type PluginDependency::type
의존성이 필수인지 선택 사항인지 여부를 지정합니다.
ExtensionSystem::PluginDependency::Type도 참조하십시오 .
QString PluginDependency::version
플러그인이 이 종속성을 충족하려면 일치해야 하는 버전 문자열입니다.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.