Obsolete Members for <QWaylandQuickExtension>
Los siguientes miembros de la clase <QWaylandQuickExtension> son obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso en código nuevo.
Macros
(deprecated in 6.8) | Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType) |
Documentación de macros
[deprecated in 6.8] Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_CLASS(className, QmlType)
Esta macro está obsoleta desde la versión 6.8. Desaconsejamos su uso en código nuevo.
Utilice Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT en su lugar.
Esta macro puede utilizarse para definir una clase Qt Quick basada en una extensión Wayland. Define una nueva clase que hereda de className y que sufija el nombre con "QuickExtension".
La macro funciona igual que Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS, pero también registrará automáticamente la nueva clase 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.