Obsolete Members for <QWaylandQuickExtension>

Los siguientes miembros de la clase ` <QWaylandQuickExtension> ` están obsoletos. Se mantienen para que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.

Macros

(deprecated in 6.8) Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Documentación sobre macros

[deprecated in 6.8] Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)

Esta macro está obsoleta desde la versión 6.8. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar « Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT ».

Esta macro se puede utilizar para definir una clase de « Qt Quick » basada en una extensión de Wayland. Define una nueva clase que hereda de « className » y a cuyo nombre se le añade el sufijo «QuickExtension».

La macro funciona igual que ` Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS`, pero además registrará automáticamente el nuevo tipo como ` QmlType ` en el módulo QML actual, con ` QML_ADDED_IN_VERSION ` establecido en 1.0.

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