이 페이지에서

퀵: 첨부된 속성 유형

이 경고 범주의 철자는 [Quick.attached-property-type] 입니다.

첨부된 속성은 특정 유형에서 파생된 객체에 첨부되어야 합니다.

무슨 일이 있었나요?

잘못된 유형의 객체에 첨부된 프로퍼티를 인스턴스화했습니다.

이것이 왜 나쁜가요?

첨부된 프로퍼티가 작동하지 않습니다.

예시

import QtQuick

Item {
    QtObject {
        LayoutMirroring.enabled: true
    }
}

이 경고를 해결하려면 둘러싸는 유형을 경고 메시지에 언급된 유형에서 상속하도록 변경합니다:

import QtQuick

Item {
    Item {
        LayoutMirroring.enabled: true
    }
}

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