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.