En esta página

Rápido: Tipo de propiedad adjunta

qmllint escribe esta categoría de advertencia como « [Quick.attached-property-type] ».

La propiedad adjunta debe estar vinculada a un objeto que derive de un tipo concreto

¿Qué ha pasado?

Has instanciado una propiedad adjunta en un objeto de un tipo incorrecto.

¿Por qué es un error?

La propiedad adjunta no funcionará.

Ejemplo

import QtQuick

Item {
    QtObject {
        LayoutMirroring.enabled: true
    }
}

Para solucionar esta advertencia, cambia el tipo contenedor para que herede del tipo mencionado en el mensaje de advertencia:

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.