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] コンポーネントの必須プロパティがバインドされていませんでした。

Components must have exactly one child

[component-children-count] コンポーネントの子プロパティの数が間違っています。

Confusing expression statement

[confusing-expression-statement] 式ステートメントが混乱しています。

Confusing minuses

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

Confusing pluses

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

Context properties

[context-properties] コンテキストプロパティが使用された。

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 entry matches enum

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

Enums are not types

[enum-are-not-types] 列挙型の名前が型注釈として使用されました。

Eval

[eval] evalの使い方。

Function used before its declaration

[function-used-before-declaration] 関数が宣言前に使用された。

Id quotation

[syntax.id-quotation]idが引用符で囲まれている。

Import file selector

[import-file-selector] ファイル・セレクタを使ってインポートした。

Incompatible type

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

Inheritance cycle

[inheritance-cycle] コンポーネントがそれ自身を継承する。

Invalid qmllint directives

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

Literal constructor

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

Loose equality comparison type coercion

[等式強制] 緩い等式比較演算子を使用すると、値を強制する可能性があります。

Missing enum entry

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

Missing property

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

Missing type

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

Multiline strings

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

Non-list property

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

Prefer non-var properties

[prefer-non-var-properties] var プロパティよりも非 var プロパティを優先します。

Quick: Attached property type

[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] シグナルハンドラがシグナルタイプを満たしていません。

Stale property read

[stale-property-read] 定数でなく、通知不可能なプロパティを読み込んでいます。

Syntax

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

Top level component

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

Uncreatable type

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

Unintentional empty block

[unintentional-empty-block] オブジェクトリテラルの代わりに空のブロックが作成されました。

Unqualified

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

Unreachable code

[unreachable-code] 到達できない命令があります。

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文は強く推奨されません。

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