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] シングルトンに正しくアクセスできませんでした。

Comma

[カンマ] カンマ式を使用しないでください。

Component is missing a required property

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

Confusing minuses

[confusing-minuses] マイナスが混乱しています。

Confusing pluses

[confusing-pluses] 混乱させるプラス。

Deprecated

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

Do not use void in expressions

[void] void 式が使用されました。

Duplicate Imports

[duplicate-import] インポートが重複しています。

Duplicate bindings

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

Duplicate enum entries

[duplicate-enum-entries] 列挙型キー X がすでに宣言されています。

Duplicate id

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

Duplicate inline components

[duplicate-inline-components] インラインコンポーネントが重複しています。

Duplicated name

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

Enum declared outside the root element

[non-root-enum] enum がルート要素の外部で宣言されました。

Enum entry matches enum

[enum-entry-matches-enum] 列挙項目の名前は列挙項目自体とは異なる名前にする必要があります。

Id quotation

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

Incompatible type

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

Inheritance cycle

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

Invalid qmllint directives

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

Literal constructor

[リテラルコンストラクタ] コンストラクタとして関数を使用しないでください。

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 ステートメントまたは式があまりにも深くネストされています。

Redundant Optional Chaining

[redundant-optional-chaining] いくつかのオプションの連鎖検索がオプションでない可能性がある。

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] 使用されている型が見つかりませんでした。

Unterminated non-empty case block

[unterminated-case] 空でない case ブロックが終了しませんでした。

Unused imports

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

Use proper function

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

Var used before declaration

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

Warn about using assignment in conditions

[assign-in-condition] 条件の中で代入文が使われている。

Warnings occurred while importing

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

With

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

© 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.