QML Lint 경고 및 오류

다음은 모든 QML Lint 경고 및 오류 메시지에 대한 개요입니다.

Alias cycle

[alias-cycle] 별칭 속성이 별칭 순환의 일부입니다.

Attached property reuse

[attached-property-reuse] 첨부된 유형이 여러 번 초기화되었습니다.

Block scope var declaration

[var-used-in-block-scope] 블록 범위 내에서 var을 사용하여 변수가 선언되었습니다.

Cannot access singleton as a property of an object

[access-singleton-via-object] 싱글톤에 잘못된 방식으로 접근했습니다.

Comma

[comma] 쉼표 표현식을 사용하지 마십시오.

Component is missing a required property

[required] 컴포넌트의 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] 열거형 항목의 이름은 열거형 자체의 이름과 달라야 합니다.

Enum key case

[enum-key-case] 열거형 키가 소문자로 시작합니다.

Enums are not types

[enums-are-not-types] 열거형 이름이 유형 주석으로 사용되었습니다.

Eval

[eval] eval 사용.

Function used before its declaration

[function-used-before-declaration] 함수가 선언되기 전에 사용되었습니다.

Id quotation

[syntax.id-quotation] ID에 따옴표가 포함되어 있습니다.

Id shadows member

[id-shadows-member] ID가 멤버를 가리고 있습니다.

Import file selector

[import-file-selector] 파일 선택자를 사용하여 임포트했습니다.

Incompatible type

[incompatible-type] 호환되지 않는 유형에 객체, 값 또는 표현식이 사용되었습니다.

Inheritance cycle

[inheritance-cycle] 컴포넌트가 자기 자신을 상속받았습니다.

Inline component enums

[inline-component-enums] 인라인 컴포넌트 내부에서 열거형이 선언되었습니다.

Invalid qmllint directives

[invalid-lint-directive] 유효하지 않은 qmllint 주석이 있습니다.

Literal constructor

[literal-constructor] 함수를 생성자로 사용하지 마십시오.

Loose equality comparison type coercion

[equality-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 속성보다 non-var 속성을 우선적으로 사용하십시오.

Property override

[property-override] override, final, virtual 키워드의 잘못된 사용.

Quick: Attached property type

[Quick.attached-property-type] Quick 부착 속성 유형의 오용.

Readonly property

[read-only-property] 읽기 전용 속성이 작성되었습니다.

Recursion depths errors

[재귀 깊이 오류] QML 문이나 표현식이 너무 깊게 중첩되어 있습니다.

Redundant Optional Chaining

[redundant-optional-chaining] 일부 선택적 연쇄 조회(optional chaining)가 선택적이지 않을 수 있습니다.

Renamed Type

[renamed-type] 내보내지 않은 이름으로 유형이 호출되었습니다.

Restricted type

[restricted-type] 제한된 유형에 접근했습니다.

Shadow

[shadow] 한 멤버가 다른 멤버를 가리고 있습니다.

Signal handler parameters

[signal-handler-parameters] 시그널 핸들러가 시그널 유형을 충족하지 않습니다.

Stale property read

[stale-property-read] 비상수이고 알림 대상이 아닌 속성을 읽으려고 했습니다.

Syntax

[syntax] 다양한 구문 오류.

Top level component

[top-level-component] 루트 QML 유형이 컴포넌트입니다.

Type is instantiated recursively

[type-instantiated-recursively] 유형이 자체적으로 인스턴스화됩니다.

Uncreatable type

[uncreatable-type] 생성할 수 없는 유형입니다.

Unintentional empty block

[unintentional-empty-block] 객체 리터럴 대신 빈 블록이 생성된 것으로 보입니다.

Unqualified

[unqualified] ID 없이 외부 범위에 접근하고 있습니다.

Unreachable code

[unreachable-code] 일부 명령문에 도달할 수 없습니다.

Unresolved alias

[unresolved-alias] 속성 alias의 속성을 찾을 수 없습니다.

Unresolved type

[unresolved-type] 사용된 유형을 찾을 수 없습니다.

Unterminated non-empty case block

[unterminated-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

[assignment-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.