Rapide : type de propriété attachée
Cette catégorie d'avertissement est orthographiée « [Quick.attached-property-type] » par qmllint.
Une propriété attachée doit être associée à un objet dérivé d'un type particulier
Que s'est-il passé ?
Vous avez instancié une propriété attachée dans un objet de type incorrect.
Pourquoi est-ce un problème ?
La propriété attachée ne fonctionnera pas.
Exemple
Pour corriger cet avertissement, modifiez le type englobant afin qu'il hérite du type mentionné dans le message d'avertissement :
© 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.