QML Lintの警告とエラー

以下はQML Lintの警告とエラーメッセージの概要です。

Alias cycle

[alias-cycle] エイリアスプロパティはエイリアスサイクルの一部です。

Attached property reuse

[attached-property-reuse] 付属の型が複数回初期化されました。

Cannot access singleton as a property of an object

[access-singleton-via-object] シングルトンに正しくアクセスできませんでした。

Component is missing a required property

[required] コンポーネントの required プロパティがバインドされていませんでした。

Deprecated

[deprecated] 非推奨のプロパティまたは型が使用されました。

Duplicate bindings

[duplicate-property-binding] プロパティが複数回バインドされました。

Duplicate id

[syntax.duplicate-ids] id が一意ではありません。

Duplicated name

[duplicated-name] 同じコンポーネント内で複数のシグナルまたはプロパティが同じ名前を共有しています。

Id quotation

[syntax.id-quotation] id に引用符があります。

Incompatible type

[互換性のない型] オブジェクト、値、または式が互換性のない型で使用されています。

Inheritance cycle

[inheritance-cycle] コンポーネントは自分自身から継承します。

Invalid qmllint directives

[invalid-lint-directive] 無効な qmllint コメントです。

Missing enum entry

[missing-enum-entry] 列挙型の値が宣言にありません。

Missing property

[missing-property] 存在しないプロパティに値をバインドしています。

Missing type

[missing-type] バインディングまたはエイリアスで使用されている型が見つかりませんでした。

Multiline strings

[multiline-strings] 文字列が複数行にまたがっています。

Non-list property

[non-list-property] リスト以外のプロパティに複数の値が割り当てられました。

Quick: Attached property type

Quick 添付プロパティ・タイプの誤用。

Readonly property

[read-only-property] 読み取り専用プロパティが記述されました。

Recursion depths errors

[recursion-depth-errors] Qml 文または式がネストされすぎています。

Restricted type

[restricted-type] 制限された型にアクセスしました。

Signal handler parameters

[signal-handler-parameters] シグナルハンドラがシグナルタイプを満たしていない。

Syntax

[syntax] 様々な構文エラー。

Top level component

[top-level-component] ルートとなるQMLの型がコンポーネントである。

Uncreatable type

[uncreatable-type]作成できない型。

Unqualified

[unqualified] 外部スコープにidなしでアクセスする。

Unresolved alias

[unresolved-alias] プロパティエイリアスのプロパティが見つかりませんでした。

Unresolved type

[unresolved-type] 使用されている型が見つかりませんでした。

Unused imports

[unused-imports] インポートされたモジュールの型が使用されませんでした。

Use proper function

[use-proper-function] 関数ではないかもしれないものを呼び出しています。

Var used before declaration

[var-used-before-declaration] JavaScript変数が宣言前に使用されました。

Warnings occurred while importing

[import] インポートされたモジュールが見つからなかった。

With

[with] QMLではwith文は強く推奨されません。

prefixed-import-type

BRIEF

© 2025 The Qt Company Ltd. 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.